News for hackers. Stuff that matters.
Re:Announcing Rust Language Server Alpha Release by kibwen on Tuesday January 17, 2017 @06:04PM (#13422350)
Rust's IDE story is starting the year off with a bang. :) It's taken me until now to realize that the protocol is semi-standardized: https://github.com/Microsoft/language-server-protocol . Are Rust and Typescript the only two languages with implementations of this protocol so far? (EDIT: nevermind, found http://langserver.org/ , which implies there are quite a lot of these.)

I'm also fascinated to hear that it's using both Racer and rustc to provide autocomplete. Is there any long-term plan to provide "quick and dirty" info from the compiler itself rather than from Racer? EDIT 2: Ah, the final paragraph addresses this. That's what I get for commenting before I'm done reading. :P

Re:Announcing Rust Language Server Alpha Release by schmichael on Tuesday January 17, 2017 @06:27PM (#13422517)
Re:Announcing Rust Language Server Alpha Release by spott on Tuesday January 17, 2017 @07:16PM (#13422867)
I wonder why C++ isn't on this list.
Re:Announcing Rust Language Server Alpha Release by steveklabnik on Tuesday January 17, 2017 @07:23PM (#13422904)
It's the second entry in the table here. Links to https://marketplace.visualstudio.com/items?itemName=ms-vscod...
Re:Announcing Rust Language Server Alpha Release by bluejekyll on Tuesday January 17, 2017 @06:20PM (#13422465)
Eclipse is working on one for Java I think: https://projects.eclipse.org/proposals/jdt-language-server
Re:Announcing Rust Language Server Alpha Release by 404-universe on Tuesday January 17, 2017 @08:26PM (#13423233)
Are there any implementations of the language server protocol for vim or emacs?
Re:Announcing Rust Language Server Alpha Release by prabir on Tuesday January 17, 2017 @09:34PM (#13423517)
nvim-langserver-shim internally uses an older version of https://github.com/prabirshrestha/vim-lsp I'm hoping in couple of weeks vim-lsp will be stable and so that I can start contributing to nvim-langserver-shim. Currently I'm developing vim-lsp independently.

It already works asynchronously in neovim and vim on windows, mac and linux. You can follow up with the discussion at https://github.com/neovim/neovim/issues/5522 (you can see some of the progress in thread in gifs)

Re:Announcing Rust Language Server Alpha Release by steveklabnik on Tuesday January 17, 2017 @08:30PM (#13423263)
Re:Announcing Rust Language Server Alpha Release by int_19h on Tuesday January 17, 2017 @09:00PM (#13423403)
As someone who had worked on language support in IDEs for the past 5 years, it's really great that we have finally arrived to the point of getting common protocols. IDEs have historically been very self-contained, each with its own ecosystem, resulting in a lot of unnecessary duplication of effort. Now, at last, we can do neat things that are immediately usable across the entire language ecosystem at once.

Better yet, we can have language designers implement support themselves, ideally using the same code that powers their compiler. Historically, tooling support has been the single biggest stumbling block for new languages, no matter how promising. This should significantly reduce the barrier to entry for that, and make new languages more viable as a result.

The fact that it can also be used to "light up" hardcore editors like Vim and Emacs is also a nice bonus!

Re:Announcing Rust Language Server Alpha Release by josteink on Wednesday January 18, 2017 @03:02AM (#13424851)
> it's really great that we have finally arrived to the point of getting common protocol

This. Common protocols is what has helped us independently, incrementally and exponentially make the internet more useful.

If we can (finally?) get this lesson learned down to the application level, computing may finally start advancing conceptually once again.

Right now we've been in a rinse/repeat standstill iteration for god knows how many years.

But I guess everyone is too busy trying to get rich building the next big closed service to consider fundamental issues like that...

Re:Announcing Rust Language Server Alpha Release by flukus on Tuesday January 17, 2017 @09:29PM (#13423497)
https://github.com/Valloric/YouCompleteMe

YouCompleteMe for vim, although it relies on python so may not be portable. I took a quick stab at building one in pure vimscript and a process in vim 8 and it seemed very doable.