If you are not satisfied with the internal editor, some good editors are VS Code, Notepad++ and Sublime, or you can join the Discord and give me suggestions.
In the JS Compatibility docs, you may have noticed
Java.typeto directly grab java classes... to easier facilitate this I have created a Minecraft Mapping Viewer so you will be able to figure out the obfuscated (for fabric this is Yarn Intermediary) names of the Minecraft classes/methods/functions you wish to use. Some classes may not work with
Java.typein which case you can look at the Reflection library.
you can find some reference on the difference between the JS embedded in Java and Node.js specifications here. mainly:
Feel free to join the Discord and ask any questions.