Closed akosyakov closed 8 years ago
Not on my end. If Tern's functionality can be expressed in the vocabulary of that protocol, I'd be neat if someone writes a wrapper, but I'm not going to be the one to do that.
@marijnh maybe i misunderstood you, but I did not mean to serve Tern as a language server but rather let CodeMirror make use of other language servers.
Ah, I see, that would also be possible, I guess, but you'd probably want to write a completely new plugin for it.
Could we have it opened and see whether somebody will step forward to implement such plugin?
No. I am not accepting new plugins into the main distribution, so it'd have to be done as a separate project.
@akosyakov do you know whether a LSP plugin is by now available somewhere?
Is Codemirror planning to integrate with LSP server near future ? Can anyone update?
No, it isn't. Insofar as you can talk to an LSP server at all from the browser, it'd be nice if someone worked on this, but the core library is probably not the place to do that --- this is why plugins exist.
Here is a blog post and github repo by Wylie Conlon, describing some work on teaching LSP to CodeMirror: http://www.blog.wylie.su/codemirror-lsp https://github.com/wylieconlon/lsp-editor-adapter
for CodeMirror 6, I found Language Server Plugin for CodeMirror 6
Microsoft has announced Language Server Protocol. Is there any plans to provide integration with it?