itemisCREATE / solidity-ide

Solidity plugin for Eclipse
Eclipse Public License 1.0
86 stars 25 forks source link

Provide language server extension for VSCode #192

Closed kthoms closed 6 years ago

kthoms commented 6 years ago

The Solidity language should be made available for VSCode. Therefore a language server has to be build from the DSL implementation and packaged into a VSCode extension project.

The new extension should be made available in the VSCode marketplace.

cdietrich commented 6 years ago

The extension currently works in Socket mode. This is nice from eclipse. For production we should start the packaged ls app again

andreasmuelder commented 6 years ago

Is there any drawback if we stay in socket mode but launch the solidity-ls server before connecting to it?

cdietrich commented 6 years ago

If we ship the extension to users eg via the vscode marketplace the socket approach is not feasable imho

andreasmuelder commented 6 years ago

https://github.com/Yakindu/solidity-ide/pull/203 works from the debug instance of VSCode but not with the installed vsix extension for some reason

cdietrich commented 6 years ago

Did you check the folder structure in .vscode in home dir

andreasmuelder commented 6 years ago

seems to be the same as in your example https://github.com/cdietrich/xtext-languageserver-example

we do not have the settings.json but I don't know if we need this "typescript.tsdk": "./node_modules/typescript/lib"

andreasmuelder commented 6 years ago

switch to standalone communication with https://github.com/Yakindu/solidity-ide/pull/203