Opened 8 years ago
Last modified 4 years ago
#4458 new discussion
Idea: OpenModelica Language Server Protocol
Reported by: | Owned by: | somebody | |
---|---|---|---|
Priority: | low | Milestone: | Future |
Component: | *unknown* | Version: | |
Keywords: | Cc: | christoph.buchner@… |
Description
The Language Server Protocol LSP is a suggestion by Microsoft, how an editor could interact with a language server to offer features like syntax highlighting, type hints, word completion and more.
http://langserver.org/
https://github.com/Microsoft/language-server-protocol
Animated gifs of the features in action are e.g. here:
https://github.com/palantir/python-language-server
Editors that are supported include VS Code, Atom, Eclipse, Emacs, Vim and Sublime (partly work in progress).
Inspired by these two tickets:
https://trac.openmodelica.org/OpenModelica/ticket/3705
https://github.com/THM-MoTE/mope-server/issues/3
I would like to ask whether it would be possible to add a Modelica language server!?
Two more comments:
github seems to be expanding LSP support:
http://blog.atom.io/2017/09/12/announcing-atom-ide.html
And the note, that this would provide similar functionality as the MDT Eclipse plugin, but for a whole bunch of editors.