This IntelliJ-based Plugin provides auto-completion, signature hints, inlay support and some live templates for the Minecraft 1.12 Mod GroovyScript. This is similar to the corresponding VS Code Plugin, found on the marketplace.
You must enable the GroovyScript Language Server in your instance. See the GroovyScript Docs for how to do this.
This plugin utilizes the Language Server Protocol to provide this support, through the LSP4IJ plugin.
LSP4IJ is a hard dependency of this Plugin. IntelliJ's own support has not been used due to limited feature sets and support being restricted to Ultimate versions.
For support with GroovyScript versions pre-1.2.0, please disable the GroovyScript texture
inlay hint, in the Other -> Groovy
category. See the IntelliJ Docs for how to do this.
This plugin is still in development. Future planned features are in the roadmap.
-
Using the IDE built-in plugin system:
Settings/Preferences > Plugins > Marketplace > Search for "GroovyScriptPlugin" > Install
-
Using JetBrains Marketplace:
Go to JetBrains Marketplace and install it by clicking the Install to ... button in case your IDE is running.
You can also download the latest release from JetBrains Marketplace and install it manually using Settings/Preferences > Plugins > ⚙️ > Install plugin from disk...
-
Manually:
Download the latest release or the latest nightly build and install it manually using Settings/Preferences > Plugins > ⚙️ > Install plugin from disk...
Plugin based on the IntelliJ Platform Plugin Template.
- Texture display
- Texture tooltips
- Texture settings: Improve preview
- Allow localization
- Improve handling of server status, especially after failure to connect or instance being closed
- Fix completion removing quotes before
- Fix completion not working with object mappers on normal input (maybe see if IntelliJ's Typescript support can help as a base, it provides completion for object keys)
- Add shortcut snippets (crafting shapeless, etc.)
- Fix bad error highlighting
- Inspections (e.g. favoring
item('rl', meta)
overitem('rl:meta')
or formatting fromitem
tometaitem
)- Add to GrS's LSP?
- Look at sources, check for groovyblacklist annotation