unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Language Servers and Emacs
@ 2017-04-11 16:28 Perry E. Metzger
  2017-04-11 16:36 ` Philippe Vaucher
                   ` (5 more replies)
  0 siblings, 6 replies; 29+ messages in thread
From: Perry E. Metzger @ 2017-04-11 16:28 UTC (permalink / raw)
  To: emacs-devel

Microsoft has invented an interesting new protocol for IDEs
and code editors to talk to language tools (like compilers) to do
things like smart autocompletion, jumping to code definitions, and the
like.

The idea is that compilers and similar tools generally know a lot
about the structure of a language and can provide help to an editor as
an external service, so the editor doesn't need to handle parsing,
symbol tables, etc. for the language on its own. The editor can just
ask the compiler or language tool for the information when it needs
it.

The protocol is open and they have no intellectual property claims on
it. It is JSON based and should be straightforward to support.

A general description is at:

http://langserver.org/

And detailed protocol information is at:

https://github.com/Microsoft/language-server-protocol

It was originally designed for their "Roslyn" C# compiler (which is
free software, it's Apache licensed) to integrate with their own
editors and IDEs, but other compiler projects and editors seem to be
adopting the thing. There are now language servers people have built
for a lot of languages, and there's support appearing for the
protocol in a bunch of editors.

I'm mentioning this here because I think the Emacs community would be
interested in this capability, though I suspect that it would also be
really neat if GCC developed a language server for C and C++.

I recall that a while ago, RMS had a lot of problems with the idea
of opening up GCC in ways that might have made it possible for people
to use it too much for proprietary compilers. Using the Language
Server Protocol, it should be possible for GCC and other free
language tools to talk to a variety of IDEs and Editors (including, I
hope, Emacs) to allow advanced modern code editing _without_ the
sorts of risks he was worried about.

Perry
-- 
Perry E. Metzger		perry@piermont.com



^ permalink raw reply	[flat|nested] 29+ messages in thread
* Re: Language Servers and Emacs
@ 2018-08-30 15:51 Sébastien Gendre
  2018-08-30 15:58 ` Tom Tromey
  0 siblings, 1 reply; 29+ messages in thread
From: Sébastien Gendre @ 2018-08-30 15:51 UTC (permalink / raw)
  To: tom, emacs-devel

[-- Attachment #1: Type: text/plain, Size: 58 bytes --]

Is there any news about LSP in Emacs core?




Séb

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 29+ messages in thread

end of thread, other threads:[~2018-08-31  4:12 UTC | newest]

Thread overview: 29+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-11 16:28 Language Servers and Emacs Perry E. Metzger
2017-04-11 16:36 ` Philippe Vaucher
2017-04-11 16:44   ` Perry E. Metzger
2017-04-11 19:32   ` Evgeniy Dushistov
2017-04-11 18:32 ` Eli Zaretskii
2017-04-12  7:39 ` Helmut Eller
2017-04-12 12:59   ` Perry E. Metzger
2017-04-25 12:17     ` Phillip Lord
2017-04-25 23:06       ` Katherine Cox-Buday
2017-04-26  2:00         ` Perry E. Metzger
2017-04-26 11:15           ` Phillip Lord
2017-04-26 12:14             ` Helmut Eller
2017-04-26 13:24             ` Perry E. Metzger
2017-04-26 15:23               ` Phillip Lord
2017-04-26 17:14       ` Richard Stallman
2017-04-27 18:15         ` Perry E. Metzger
2017-04-27 23:56           ` Richard Stallman
2017-04-12  9:03 ` Vibhav Pant
2017-04-12 13:07   ` Perry E. Metzger
2017-04-13  6:19     ` Vibhav Pant
2017-04-14  9:06       ` Lele Gaifax
2017-04-13 13:58 ` Richard Stallman
2017-04-20 10:52 ` Philipp Stephani
2017-04-21  2:08   ` Richard Stallman
2017-04-21 12:42     ` Perry E. Metzger
2017-04-21  3:44   ` Tom Tromey
  -- strict thread matches above, loose matches on Subject: below --
2018-08-30 15:51 Sébastien Gendre
2018-08-30 15:58 ` Tom Tromey
2018-08-31  4:12   ` Jay Kamat

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).