工欲善其事 its prerequisite, an efficient code-checking tool can greatly improve our development efficiency. Flycheck is a common code compilation checker in Emacs, which documents some of the problems and workarounds that are encountered when configuring it.The basic principle of flycheck is simple, that is, when you need to do a check (the timing may be you save a file, or change the file open after idle for s
Emacs's Flycheck plugin supports the use of JSLint and Eslint (setq flycheck-javascript-eslint-executable "~/.nvm/versions/node/v6.4.0/bin/eslint") (setq Flycheck-javascript-jshint-executable "~/.nvm/versions/node/v6.4.0/bin/jshint") (setq Flycheck-javascript-jscs-executable "~/.nvm/versions/node/v6.4.0/bin/js
Emacs automatic completion, the best plug-in belongs to Ycmd. The following records my installation process.1. Installing Ycmd ServerGitHub official address: Https://github.com/Valloric/ycmd-Git clone ycmd to local ~/ycmd$ git clone https://github.com/Valloric/ycmd.git ~/ycmd-Install the necessary compilation tools and libraries$ sudo apt-get install build-essential cmake python-dev-Download the full submodule (big oh ... )$ git submodule update --init --recursive-Compile (slow oh ... )$ CD ~/yc
The Python programming environment setting involves: auto-completion, syntax checking, and virtual environments.In order not to mess up the system, install the relevant plugin in Python's virtual environment.First, install the Python virtual environment virtualenvwrappersudo apt-get virtualenvwrapperThen create a virtual environment:TestLet's start with the test in this virtual environment:First look at what packages are available:$ pip listpip (1.5. 6 ) Setuptools (5.5. 1)You can see only 2 pac
-insert│ ── Python-auto-insert├ ── Custom; custom plug-in Directory. You can also put the program you wrote in and then require in init. el.│ ├ ── Flycheck. el; customizes flycheck to enable it to automatically execute pep8 and flake8 when saving the python program. Otherwise, a new buffer is opened and printed.│ └ ── Py-autopep8.el; I implemented the autopep8 plug-in, automatically process files according
delayed. Therefore, another shortcut key is defined to be called separately. In this way, this function can be used throughout the project to create all the functions and variables of the index index, and then the library function to complete the ctags, you can also by the way the function of the parameter call mode. For small, dynamic languages, the project is more convenient.
YasnippetDefines a number of common yasnippet that can be quickly inserted into some common blocks of code.
4
Let's take a picture first:
For some small Python projects, using Vim is a good choice. What is the best practice for writing Python with Vim in the context of the self-informed answer in this article? , the following is a supplement to the old answer, in particular, some of which are mainly aimed at vim8. If you want more content, you can see some answers to that question.
Grammar check
If you use VIM8, then you can use the asynchronous detection of W0rp/ale instead of syntastic, no longer en
Very powerful
All plugins can be downloaded through the Package manager.Here is the checklist:
name
Description
Similar plugins
Evil
Turn Emacs into Vim
No
Org
Org-mode, the all-powerful note tool
No
Company-mode
Auto-complete input with support for various languages and backend
Auto-complete
Expand-region
Shortcut key to select text to stretch t
Org
Org-mode, the all-powerful note tool
No
Company-mode
Auto-complete input with support for various languages and backend
Auto-complete
Expand-region
Press the shortcut key to select the current text to expand or shrink the selection area
No
Smex
Let the input command become fast
No
Yasnippet
Powerful text template Input tool
No
Flymake-xxxx
All packages b
updated
Very powerful
All plugins can be downloaded through the Package manager.Here is the checklist:
name
Description
Similar plugins
Evil
Turn Emacs into Vim
No
Org
Org-mode, the all-powerful note tool
No
Company-mode
Auto-complete input with support for various languages and backend
Auto-complete
Expand-region
Shortcut key to select text to s
Contact Us
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.