I've found the vscode-groovy
extension that does the formatting and highlighting, but I'm really having trouble getting the compiler/debugger configured.
I figure I could just point JAVA_HOME
to my Groovy compiler, but is there a better way to do this?
I had the same problem, so I did the following steps:
PATH
.Code Runner extension
for Visual Studio Code. This extension can be downloaded from the VS marketplace. If this is done, then you can at least run the groovy script already. Just open the context menu of the file in the VS Code explorer and click Run code
.If you want to debug the script, then you should put it in a java class and debug it as described here.
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