I use VS Code with dev containers. Here you can find my Dockerfile plus instructions on how to build and use the environment.
Dockerized development environment for developing Motive Wave studies with VS Code - maykathm/dockerized-motivewave-env
github.com
If you don't want to use dev containers, all you need to do is to set up ANT (you could perform the same actions I do in the Dockerfile) on your native system, and then just execute the "ant" command from the build directory.