It turns out that all guides to setup MASON with a decent IDE are very old. The MASON manual doesn’t bother with this, either. Therefore here’s an updated version using IntelliJ.
Assuming here you have installed IntelliJ and Java JDK.
- Create a new project, and let it be a “Java” project.
Do not select any template
give it a name (
you should have now an empty project
- Create a new directory in
mason.jar file in that directory
- Go file->Project Structure
Go to libraries, press the
+ sign and choose
Point it to the
lib folder you created before (where
Confirm that you want that folder to be a library folder for the project/module
- Start coding; create a new java class by right clicking on src–>Java Class
Write down your
Right click on its tab and press “run”
Should see it running at the bottom