I'm developing with WebStorm. I want to have syntax highlighting for Jenkins Groovy pipelines.
It's possible to use InteliJ IDEA for editing Jenkinsfiles, but it's obviously inconvenient to switch back and forth between IDEs.
Can I install Groovy plugin from IntelliJ IDEA Community Edition in WebStorm? If yes - how?
In the Project tool window, right-click the project and from the context menu, select Add Framework Support. In the dialog that opens, select Groovy and click OK. IntelliJ IDEA adds the Groovy SDK to your project and you can add Groovy classes and Groovy scripts.
Since you use Groovy 2.5. 6 and Java 11 in the project, you need to add the extra JAXB Jars that this Groovy version comes with to the project as dependencies.
Step16: To check whether Groovy is installed correctly or not, click on Command prompt and type groovy ? v and press enter. It will display the installer version of groovy of your system.
Groovy The Groovy plugin is bundled with IntelliJ IDEA and enabled by default. IntelliJ IDEA supports the latest stable version of Groovy and Groovy 4 syntax.
I didn't get that plugin to work either, but as a partial alternative, you can use this TextMate bundle: https://github.com/textmate/groovy.tmbundle
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With