I use atom IDE for both SuiteScript and freemarker, the freemarker support isn't great, but it's got a similar functionality like bracket matching (something like tag matching)
The change in colors also help!
You can change the syntax in the Atom IDE, to say from javascript to freemarker, then you get a little bit more support 🙂