lf-lang / vscode-lingua-franca

Lingua Franca extension for Visual Studio Code
Other
4 stars 3 forks source link

Language and diagram server built using Gradle #85

Closed a-sr closed 1 year ago

a-sr commented 1 year ago

Requires PR #1469 in LF Uses the new Gradle build built the LDS jar. Special handling of SWT library is no longer necessary and removed.

a-sr commented 1 year ago

@lhstrh I updated the LF submodule. I don't know if there is a coordinated process for updating it or if it is fine this way.

I also added support for launching the extension with a language server connected via socket. I only tested it in Eclipse. I don't know how it will work in IntelliJ but you need to start/debug the project via the main class org.lflang.diagram.lsp.LanguageDiagramServer with the VM option -Dport=7670, while starting the extension with the Launch Extension (Socket) configuration.