Groovy IDE recommendations for DataSource/ConfigSource development?
- Anonymous2 years ago
I think the developers at LM have a preferred IDE (IntelliJ), but it never made sense for me not coming from a Java background. I use VS Code combined with the collector debug window. I run an interactive Groovy console through docker `docker run --rm -it groovy` which lets me test syntax and stuff. I would really love it if LM made an extension for VS Code that would let you run groovy or powershell scripts on a chosen collector against a chosen object. That would really speed up my development. As it is, I develop my code in VS Code, then copy and paste into a !groovy or !posh dialog in the collector debug. I have to choose the device every time. It’s not great, but it works. I may go to bard/chatgpt to have it help me develop the VS Code extension since all that stuff can be done through the API.
There’s also coretools floating around somewhere that allow you to run .groovy files from your command line. It uses your browser’s cookies for authentication and uses the API to push !groovy tasks through the collector debug console.
I really wish LM did more for developers.