Add syntax highlighting snippets, and lints via
trainzutil compile to GameScript files in Atom.
GameScript is a scripting language used in Trainz Simulator.
apm install language-gamescript
Or search for gamescript in Atom
Settings -> Install Packages.
linter is required for lint feature.
To enable you need to specify path to
scripts folder of your
You can also specify additional include directories if you are using
feature to include scripts from other assets.
By using a package like project-manager you can manage different include paths for different projects, for example:
"lse-log":title: "lse-log"group: "Trainz"paths: ["D:\\TrainzDev\\lse-log"]settings:"language-gamescript.includePath": ["D:\\TrainzDev\\lse\\src", "D:\\TrainzDev\\lse-test\\src"]
Project Manager: Reload Project Settings command will set the include paths
as you specified for this project.
TrainzUtil bundled with TANE currently does not support
compile command. You will need
prior version of Trainz for lints to work.
Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.