Rather than editing files in a simple text editor, it can be useful to use an IDE, or Integrated Development Environment, which can help catch mistakes early with syntax highlighting, and help navigate and structure your scripts better.
Visual Studio Code Edit
Visual Studio Code is a free editor from Microsoft that's very lightweight and easy to use (not to be confused with Visual Studio). There is an official extension by Maschinen-Mensch that includes syntax highlighting and entity searching (press Ctrl+T and type an entity name to search). Join our Discord community if you need help with the extension.
To install it, go to
Language > Define your language > Import and select the file.
Once it is installed, you may have to restart Notepad++ to have it work correctly.