4 ms·
Language Server implementation for Swift... meaning that writing, compiling, and debugging Swift (and Obj-C) in Visual Studio Code is just around the corner? Wh
by mikece 8y ago
Language Server implementation for Swift... meaning that writing, compiling, and debugging Swift (and Obj-C) in Visual Studio Code is just around the corner? What other editors/IDEs use Language Server?
- drzaiusx11 8y agoI've been using langserver in NeoVim for the past year and it's been great.
- toupeira 8y agoWhich plugin are you using? Looking at https://langserver.org/#implementations-client https://langserver.org/#implementations-client there are at least four of them, and IIRC the neovim folks are also working on a native implementation.
- drzaiusx11 8y agoI'm using autozimu/LanguageClient-neovim [1] From my .config/nvim/init.vim: call plug#begin('~/.local/share/nvim/plugged') Plug 'autozimu/LanguageClient-neovim', { 'do': ':UpdateRemotePlugins' } call plug#end() let g:LanguageClient_serverCommands = { \ 'javascript': ['node','/Users/jrousseau/javascript-typescript-langserver/lib/language-server-stdio.js'], \ } " Automatically start language servers. let g:LanguageClient_autoStart = 1 [1] https://github.com/autozimu/LanguageClient-neovim https://github.com/autozimu/LanguageClient-neovim
- ygra 8y agoDoesn't the Language Server only cover writing code with things like auto-completion, documentation lookup and refactoring? Compiling doesn't need editor support beyond running arbitrary programs and debugging uses a different protocol, as far as I remember.
- mikece 8y agoAfter Googling I see the list include Eclipse, IntelliJ, vim, and Sublime Text and VS Code with Atom and emacs in progress. https://langserver.org/ https://langserver.org/
- nindalf 8y agoI feel like that page might not give the full picture. I see language servers that are green on all 6 columns but don't work very well for even medium sized projects. Still, I'm super excited about the work being done here. It's only going to get better.
- thangngoc89 8y agoThat table only shows that the languge server supports the feature, Whether it's stable or not depends on the language server implementation. You should report to your language server implementor about the instability
- wool_gather 8y agoLSP doesn't really have anything to do with the latter two, compiling and debugging.