YouCompleteMe
ale
Our great sponsors
YouCompleteMe | ale | |
---|---|---|
70 | 133 | |
25,229 | 13,212 | |
0.4% | 0.6% | |
7.7 | 8.8 | |
8 days ago | 8 days ago | |
Python | Vim Script | |
GNU General Public License v3.0 only | BSD 2-clause "Simplified" License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
YouCompleteMe
-
How to configure vim like an IDE
For vim specifically, I've been using coc.nvim, which works pretty well for my needs, and I know its quite popular. Another fairly popular one is YouCompleteMe, which I had taken a look at for some other languages; but ended up just using coc as I can't justify using YCM once a year (if that) -- too much "headache" for not a lot of use, you know?
-
What’s an free bare bones IDE for Python that works smoothly out of the box?
YouCompleteMe. A pretty good autocompletion plugin, though vim does have its own, somewhat useful built-in auto completion that requires more keystrokes
-
Vim Golang syntax is ugly
There are plugins to do semantic highlighting. I don't use any of them because I'm satisfied with Vim's native syntax highlighting and with tree-sitter (and also because I don't use LSPs), but searching for "Vim semantic highlighting" on DuckDuckGo yields this: https://github.com/ycm-core/YouCompleteMe. The highlighting used in its demo is too baroque for my taste, but looking at your VSCode screenshot, it looks like it would be right up your alley.
-
Will installing Vim get rid of my current work on macOS?
I have an M1 MacBook Pro and have recently started using Vim for the first time, and was looking into installing this plugin but in the installation instructions for macOS, it says we need to do brew install vim to get the version of vim that will work with Python3. I have just been using the default Vim that comes with the laptop and am not sure if this will mess with my current configuration or not. I mostly have 2 questions:
The plugin that is requiring Python3 is You Complete Me here is the link!! The Vundle link I was looking at is also in the body of my post.
- [Neovim] Comment ajouter la complétion de code C / C ++ dans neovim?
-
Vim or Emacs for C++ Coding?
I use vim for C++ coding, however it is a bit difficult to set up to make it productive. I use YouCompleteMe [0] for autocompletion, Vimspector [1] with the C++ plugin for debugging, ALE [2] for linting, along with a few other general plugins (such as NerdTREE for file view).
[0] https://github.com/ycm-core/YouCompleteMe
-
Soliciting opinions: Favorite autocomplete?
I didn't make a complete list of requirements :) This issue makes YCM uninteresting to me, so I've not dug too deep into it.
-
Vim plugin like vscode "go to definition" function
my favorite is YouCompleteMe.
-
⚔️ 7 Secret Weapons for Lightning-Fast Code Writing with VS Code
🔎 Learn more
ale
-
A decent VS Code and Ruby on Rails setup
I saw no mention of RBS+Steep, the latter providing a LSP. I use it a lot and very much like it, although it's still young and needs love, but it's making good, steady progress! I've been very pleasantly surprised by some of the crazy things Steep can catch, completely statically!
You appear to be working on projects with Sorbet (which I tried to like but found it fell short in practice, notably outside of the app use case i.e it's mostly useless for gems) so it may be a tall order to try on those. Maybe you can give RBS+Steep a shot on some small project?
RBS: https://github.com/ruby/rbs
RBS collection (for those gems that don't ship RBS signatures in `sig`, integrates with bundler): https://github.com/ruby/gem_rbs_collection
Steep: https://github.com/soutaro/steep
VS Code: https://github.com/soutaro/steep-vscode
Sublime Text: https://github.com/sublimelsp/LSP
Vim (I'm working on it): https://github.com/dense-analysis/ale/pull/4671
-
Laravel code-quality tools
Support for code quality tools are provided by the ALE plugin. These are supported for PHP:
-
Embracing Common Lisp in the Modern World
I mostly agree, though I find Allegro and LispWorks severely lacking in areas too. The companies themselves don't seem to care much about their IDEs. Certainly not in the way JetBrains cares about IntelliJ.
Tucked away in the McCLIM project is Clouseau, which you can quickload and use as a normal user: https://codeberg.org/McCLIM/McCLIM/src/branch/master/Apps/Cl... One small cool thing it does is if you inspect a complex number it will also draw a little x-y vector. (Though trying it out again just now it's overlapping with the text... maybe I should file a bug, but I've only now just learned they moved off github, and I'm not going to make a codeberg account. Friction wins this round.) It does take a while to first compile and load all the dependencies, especially 3bz, another weakness of at least our free Lisps; AFAIK there's still no equivalent of make -j for compiling systems.
I'm a happy vim user (though there is some jank with slimv, admittedly, but it's mostly prevalent around multiple thread situations) and setup the command ,ci to call my own clouseau-inspect function; it just inspects a symbol with clouseau instead of slimv's inspector. Also have a janky watch/unwatch pair of functions that just refreshes the inspector every second. (https://github.com/Jach/dots/blob/master/.sbclrc#L113 if curious, some other junk in .swank.lisp and .vimrc too, and there's https://github.com/dense-analysis/ale/issues/4061 to call sblint on your project...)
But better forms of these sorts of graphical tools are what I hope to one day see more of and are how the free Lisps can close the gap in this area with the commercial Lisps. I believe there's not much Allegro can do that poking around SBCL can't do, but for many things it's just nicer to have a GUI. Want to explore all the symbols and values in a package? Easy enough to script that, but not as nice as just having a table of symbols, and even nicer if you can set watches on some of them. None of the tools need to be tightly integrated with a single IDE either, because all the stuff necessary to debug Lisp is in the running Lisp itself. It's just that the GUI situation continues to suck.
LSP has gotten more popular with other languages and editors, sometimes I wonder if the acronym was made as an inside joke because it's basically how Lisp + Slime/Swank have worked...
-
Static Analysis Tools for C
A similarly useful list is vim's famous ALE plug-in's list of supported linters:
* https://github.com/dense-analysis/ale/blob/master/supported-...
While less comprehensive¹, this is my go-to list when I start working with a new language. Just brew/yum/apt installing the tool makes it work in the editor²
¹this list mostly has foss,static analyzers, however anyone can contribute (mine was the gawk linting)
²alright,there are some. Tools that might need some setup
-
LazyVim
FWIW, I still use regular vim with ale [0] and it does everything I want. It formats files with Black and isort, shows ruff and pyright errors, supports jumping to definitions, and has variable information available on hover. I have collected my config over the past several years, but I pretty rarely encounter errors with it.
[0]: https://github.com/dense-analysis/ale [1] https://github.com/CGamesPlay/dotfiles/blob/master/files/.co...
-
How to configure vim like an IDE
At some of those syntax things neovim behaves better, and like. But there is https://github.com/dense-analysis/ale.
-
Vim users who work without any plugins, how does your vimrc look like?
I replace ALE with :!, like :! %. If the linter output is compatible with default errorformat , then I do :! % > /tmp/linter.txt then :cgetfile (or in one-go: :cgetexpr systemlist(''))
-
Vim or Emacs for C++ Coding?
I use vim for C++ coding, however it is a bit difficult to set up to make it productive. I use YouCompleteMe [0] for autocompletion, Vimspector [1] with the C++ plugin for debugging, ALE [2] for linting, along with a few other general plugins (such as NerdTREE for file view).
[0] https://github.com/ycm-core/YouCompleteMe
-
⚡ Neural - AI Code Generation for Vim
Disclaimer: Be mindful that the results may be unpredictable and the code generated should be carefully evaluated for correctness before use in production systems! Use a linting tool such as ALE to check your code for correctness.
-
Minimal setup for shellcheck as a compiler in Vim for linting bash scripts.
If you are interested in alternatives the ALE plugin https://github.com/dense-analysis/ale can automatically detect if tools like shellcheck are installed and will just magically lint your files continuously in the background with nice highlighting. Worth a look!
What are some alternatives?
coc.nvim - Nodejs extension host for vim & neovim, load extensions like VSCode and host language servers.
Jedi-vim - Using the jedi autocompletion library for VIM.
vim-lsp - async language server protocol plugin for vim and neovim
nvim-lspconfig - Quickstart configs for Nvim LSP
syntastic - Syntax checking hacks for vim
nvim-lint - An asynchronous linter plugin for Neovim complementary to the built-in Language Server Protocol support.
completion-nvim - A async completion framework aims to provide completion to neovim's built in LSP written in Lua
Python-mode - Vim python-mode. PyLint, Rope, Pydoc, breakpoints from box.
vim-polyglot - A solid language pack for Vim.
deoplete.nvim - :stars: Dark powered asynchronous completion framework for neovim/Vim8