Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/GroovyLanguageServer/groovy-language-server
A language server for Groovy — designed for Moonshine IDE, but may be useful in other environments
https://github.com/GroovyLanguageServer/groovy-language-server
groovy language-server language-server-protocol lsp
Last synced: 3 months ago
JSON representation
A language server for Groovy — designed for Moonshine IDE, but may be useful in other environments
- Host: GitHub
- URL: https://github.com/GroovyLanguageServer/groovy-language-server
- Owner: GroovyLanguageServer
- License: apache-2.0
- Created: 2019-02-08T00:24:11.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2024-06-28T15:14:58.000Z (4 months ago)
- Last Synced: 2024-07-28T23:08:31.356Z (3 months ago)
- Topics: groovy, language-server, language-server-protocol, lsp
- Language: Java
- Homepage: https://moonshine-ide.com/
- Size: 601 KB
- Stars: 176
- Watchers: 7
- Forks: 57
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Groovy Language Server
A [language server](https://microsoft.github.io/language-server-protocol/) for [Groovy](http://groovy-lang.org/).
The following language server protocol requests are currently supported:
- completion
- definition
- documentSymbol
- hover
- references
- rename
- signatureHelp
- symbol
- typeDefinitionThe following configuration options are supported:
- groovy.java.home (`string` - sets a custom JDK path)
- groovy.classpath (`string[]` - sets a custom classpath to include _.jar_ files)## Build
To build from the command line, run the following command:
```sh
./gradlew build
```This will create _build/libs/groovy-language-server-all.jar_.
## Run
To run the language server, use the following command:
```sh
java -jar groovy-language-server-all.jar
```Language server protocol messages are passed using standard I/O.
## Editors and IDEs
A sample language extension for Visual Studio Code is available in the _vscode-extension_ directory. There are no plans to release this extension to the VSCode Marketplace at this time.
Instructions for setting up the language server in Sublime Text is available in the _sublime-text_ directory.
Moonshine IDE natively provides a Grails project type that automatically configures the language server.