Using Vim, gVim (Vi) with Torque?
by William · in Torque 2D Beginner · 11/26/2013 (5:22 pm) · 4 replies
I installed the popular programmers notepad called Vim and was wondering if there was a up to date script that supports torque script syntax.
#2
11/27/2013 (6:35 am)
Keep in mind that TAML is not a syntax. It's a persistence system. It can output objects to XML, JSON, and binary. If you export the XML schema for T2D, you can then load it into various text editors to get highlighting, auto-completion, and suggestions (depending on the program you are using).
#3
11/28/2013 (3:38 am)
Good point. Was I right to assume that a .taml file contains the XML-like syntax? And that, JSON output, for example, will go into a file suffixed .json?
#4
12/06/2013 (6:14 am)
That's been the pattern, but the extension doesn't really matter. You can change all .taml to .xml if you want. TAML doesn't care, so long as the data it holds is valid.
Torque Owner Daniel Buckmaster
T3D Steering Committee