Myron,
I will have to test this myself and get back to you.
1) Do you happen to know if it works the way you desire in VS Code?
2) I did briefly research groovy, but I could not find a good extension for it. The one I did find apparently did not add much support. Did you install any extensions – if so, which one? Could you check with the developers using VS Code what extension (if any) they’re using?