Hi Groovy and Grails users, I've found this on Reddit: https://www.reddit.com/r/grails/s/2D5eKxGTRo
With permission from the author, I've copy/pasted the entire text here: I've built a language server for Groovy and Grails <https://github.com/vdassios/grails-language-server>, so you can get real Grails support outside IntelliJ. It compiles your code with your project's own Groovy and Grails jars, in one class loader per module, so it sees what Grails adds at compile time: - Controllers, services, domain classes, and taglibs get Grails's members, and def bookService is typed as the service. - GORM dynamic finders complete step by step, with their types, an explanation on hover, and a warning when GORM would reject them. Criteria and where blocks work too. - View, template, layout, controller, and action names in strings complete, and go to definition jumps to their target. - GSP pages go through Grails's own GroovyPageParser and get compiled, so ${ } expressions show errors, completion, and hover, with model variables typed from the controllers. - Go to definition and hover reach into library sources, both the jars' and the JDK's. I did this to cater to my new job's demands, but also as an experiment in agentic coding, to see how far I could push existing LLM models in creating something functional in a domain that I do not have mastery in. It started as a fork of groovy-language-server <https://github.com/GroovyLanguageServer/groovy-language-server>. It supports Groovy 2.5 to 6 and Grails 4 to 8. The tests run on a Grails 4 and a Grails 7 fixture project, and I measured it on five public projects from Grails 4 to 8. The README has setups for Neovim, VS Code, Helix, Emacs, and Zed, and Neovim users also get a plugin, grails.nvim. Let me know what you think! If it fails on your project, an issue with your Grails and Groovy versions helps the most. <https://www.reddit.com/r/grails/comments/1y55g67/a_new_grails_language_server_for_any_lsp_editor/?solution=3e012d92641c43283e012d92641c4328&js_challenge=1&jsc_token=2824be10929bdc604753c70a67a1c33101f9ee052efb661c6e2cbfe4eca2276d&jsc_orig_r=&share_id=maT2RTKu7e5MdI14H7lwN&utm_content=2&utm_medium=android_app&utm_name=androidcss&utm_source=share&utm_term=1#rgroovy> See also the discussion here https://github.com/apache/grails-core/discussions/13546 -- Best regards Søren Berg Glasius Apache Groovy™ and Apache Grails® PMC --- Press ESC once to quit - twice to save the changes.
