Does VS Code have a language extension for Apache Groovy?

Searching the extension store didn't work, but I found something in my master server repository:

https://github.com/Microsoft/vscode/tree/master/extensions/groovy

But not really sure if this is the extension I want, if it is, just extract this to my folder .vscode/extensions/

?

+3


source to share


1 answer


The extension you linked is built in, meaning the command Change Language Mode

should already display Groovy

for you:

It provides syntax highlighting and snippets, see section "Contributes" package.json

.



However, my guess is that you want something that provides more than just selection and snippets (i.e. completion). Interestingly what exists for Groovy (found at langserver.org ) but I couldn't find a matching VSCode extension. The documentation seems a bit lacking, but after some searching for issues with the repo it seems that the VSCode integration doesn't exist yet :

It is not integrated with VS Code yet. We currently only use it with Monaco and some non-open source code.

In theory, VSCode integration shouldn't be too difficult if the server language specification is followed. There's documentation / examples of language server development here .

+7


source







All Articles