4 ms·
> vim [...] extensible IDEs that support code completion, folding, and navigation by default. If "by default", you mean "with the default vim configuration", t
by idoubtit 4y ago
> vim [...] extensible IDEs that support code completion, folding, and navigation by default.
If "by default", you mean "with the default vim configuration", then this assertion is wrong.
Vim does have a definition-search" feature, but it needs hand-made configuration for each language, and since it relies on regexp instead of parsing the language, it's useless outside of micro projects.
To enable real code completion and navigation, vim needs plugins and external tools. The modern way is to use one of the LSP implementations for vim (I've tried ALE and CoC), but that's clearly not "out of the box" for vim.
- falcolas 4y agoIt works perfectly well with C by default - with no addons. I will agree, you do need a tags file (though it's is not even remotely hand-made (emacs uses these too)), but the rest is handled automatically, including code completion based on the contents of the tags file. Code completion, syntax highlighting, goto definition, goto tags... these are all core functions of VIM. Addons just help it work with languages other than C.