.gs files are very basic text files. That's what notepad does. Creating one that works properly is another issue. I believe that you need to learn to use the correct syntax.
I use Context and the game script plugin works quite well. However Context no longer seems to be supported and it has a bug that irritates me. I'd be interested in any programming editor that supports a game script plugin.
I have tried writing macros/auto completes for Context but without much success. What would be really neat is an auto lookup for Trainz methods/functions.