coc-groovy
Dan HansenGroovy langauage extension for coc.nvim
Published Package Summary
coc-groovy
An extension for coc.nvim to enable Groovy language server support.
Features
- Maven and Gradle project support
- Code Completion
- Find References
- Go to Definition
- Highlights
- Refactor Rename
- Signature Hover
Quick Start
-
Download and install a recent Java Development Kit (latest Java 8 is the minimum requirement).
-
Install this extension by running this command in Vim:
:CocInstall coc-groovy -
This extension is activated when you first open a Groovy file.
Dependencies
Maven Projects
Maven project support requires having the Maven Wrapper installed in your project or having Maven installed on your environment path.
License
EPL 2.0, See LICENSE for more information.
- Groovy langauage extension for coc.nvim
- onLanguage:groovy
- workspaceContains:pom.xml
- workspaceContains:build.gradle
Want to build, test, or contribute to coc.nvim extensions? Explore our official SDK and testing toolkits.
Open Developer GuideVersion History
This published npm package does not include a history.md or changelog.md file. Browse its npm versions or repository releases for available release information.
Contributed Commands
All contributes.commands entries from the published package manifest for coc-groovy@1.5.0.
| Command (:CocCommand) | Description |
|---|---|
| groovy.project.config.update | Update project configuration. |
Configuration Schema
All contributes.configuration entries from the published package manifest, including each raw property schema for coc-settings.json.
Raw JSON Schema
{
"type": "boolean",
"default": true,
"description": "Enable the coc-groovy extension."
}Raw JSON Schema
{
"type": "string",
"scope": "window",
"default": null,
"description": "Absolute path to the Groovy Language Server home. The bundled language server is used by default."
}Raw JSON Schema
{
"type": [
"string",
"null"
],
"scope": "window",
"default": null,
"description": "Specifies the folder path to the JDK (8 or more recent) used to launch the Groovy Language Server.\nOn Windows, backslashes must be escaped, i.e.\n\"groovy.home\":\"C:\\\\Program Files\\\\Java\\\\jdk1.8.0_161\""
}Raw JSON Schema
{
"type": [
"string",
"null"
],
"scope": "window",
"default": "-noverify -Xmx1G -XX:+UseG1GC -XX:+UseStringDeduplication",
"description": "Specifies extra VM arguments used to launch the Groovy Language Server. Eg. use `-noverify -Xmx1G -XX:+UseG1GC -XX:+UseStringDeduplication` to bypass class verification, increase the heap size to 1GB and enable String deduplication with the G1 Garbage collector."
}Raw JSON Schema
{
"enum": [
"off",
"messages",
"verbose"
],
"type": "string",
"scope": "window",
"default": "off",
"description": "Traces the communication between coc.nvim and the Groovy language server."
}Raw JSON Schema
{
"type": "boolean",
"default": false,
"description": "Enables the Groovy language server to provide language features for standalone .groovy files outside of a workspace root."
}Raw JSON Schema
{
"type": [
"array"
],
"scope": "window",
"default": [],
"description": "Configure additional paths for referencing libraries in a Groovy project. Note, Maven and Gradle projects will have their classpath automatically added."
}