16 ms·
Are they really? Do you get all the same plugins, all the lints and hover info, refactoring, jump to usages/definition, smart auto complete, etc? They seem awf
by slashdev 4y ago
Are they really? Do you get all the same plugins, all the lints and hover info, refactoring, jump to usages/definition, smart auto complete, etc?
They seem awfully limited to me by comparison.
- stevenhuang 4y agoYes. https://github.com/neoclide/coc.nvim https://github.com/neoclide/coc.nvim Or https://github.com/neovim/nvim-lspconfig https://github.com/neovim/nvim-lspconfig https://github.com/hrsh7th/nvim-cmp https://github.com/hrsh7th/nvim-cmp No different than installing plugins in VSCode for completions, they all work via calling out to a LSP server using https://microsoft.github.io/language-server-protocol/ https://microsoft.github.io/language-server-protocol/ When you don't understand something it's only natural to be unaware of its capabilities, yes.
- ParetoOptimal 4y ago> They seem awfully limited to me by comparison. Can you list your most important feature(s) in chosen your ide or editor that you suspect emacs doesn't have or can't easily have?
- slashdev 4y agoHow about the intellij inspections? It's a ton of lints that underline bits of your code as you type, with a wavy line, and you can hover over it to see what the problem is, and even potentially fix it automatically. Is there anything like that in the emacs world?
- nequo 4y agoThe ESS package (“Emacs Speaks Statistics”) does something like that for R without using a language server. `lsp-ui` does it for Rust at the very least but probably for other languages too.
- ParetoOptimal 4y agoYep. You can use flymake or flycheck for that in combination with eglot or lsp-mode. See https://github.com/joaotavora/eglot#diagnostics https://github.com/joaotavora/eglot#diagnostics