Vim plugins continued …
YouCompleteMe is the best auto-completion plugin for Vim. It contains support for a variety of programming languages, such as c, c++, python, javascript, etc. YCM also supports the powerful snippet plugin Ultisnips. One thing I think YCM is great is the way it supports semantic completion. By semanic completion, YCM understands your code at realtime, not by simply guessing patterns from buffer which is implemented by other auto-completion plugins such as neocomplete. However, due to YCM uses clang, it is a bit hard to install YCM on Windows, in such conditions, you can choose install a precompiled YCM, such as this one.
Ultisnips provides the best snippet for Vim. YouCompleteMe integrates support of Ultisnips as well, which means when you type, the system will give you smart hints for snippets if available in addition to buffer or semantic completion. The experience is perfect.
Syntastic is used for static checking of source codes. It comes from Martin Grenfell, author of nerdtree and nerdcommenter. Syntastic runs well with a variety of programming languages and checkers, such as cppcheck, jshint, pylint, tidy, prettyccs, etc. I recommend you to install Syntastic along with YCM, as it enhances YCM with a decent syntax checking. Type :SyntasticInfo to see the available checkers you have, and install your preferred tool.
Vim-licenses is a plugin that eases adding license to the top of the buffer. I think it is good practice to confirm your license for the source codes you write. It not only shows your professionalism, but also indicates your respect for the open source movement. But first, understand different open source licenses such as GPL, LGPL, MIT, BSD, Apache, etc. When you uses source codes from others, either non-commercial or commercial, always read its license and behave correspondly.
To be continued…
Recent Comments