Torchmodders

Modding => Tips & Tools => Topic started by: Vkoslak on October 10, 2017, 10:02:29 pm


Title: DAT file syntax highlighter for VS Code
Post by: Vkoslak on October 10, 2017, 10:02:29 pm
I started working on this the other day.  It's a syntax highlighter for DAT files.
Definitely consider this alpha. It does some basic error checking on float and integers and bools.

https://github.com/RobJames-Texas/torchlight-dat-syntax-vscode

I plan to add more error checking on variable types and keys. I've probably missed a few things., but its a start.

Mostly I wanted this for myself and thought others might get some use out of it.
Title: Re: DAT file syntax highlighter for VS Code
Post by: Kva3imoda on October 11, 2017, 05:16:24 am
It looks promising.  :)

In recent years, I've used this syntax: https://forums.runicgames.com/discussion/55345/tldatlexer-for-notepad

But your syntax looks more complete.
Title: Re: DAT file syntax highlighter for VS Code
Post by: Phanjam on October 28, 2017, 10:46:34 pm
Prerequisite is Visual Studio then?  I'll figure it out... :P
Title: Re: DAT file syntax highlighter for VS Code
Post by: Vkoslak on October 29, 2017, 08:24:07 am
Visual studio code.

https://code.visualstudio.com/

Title: Re: DAT file syntax highlighter for VS Code
Post by: Phanjam on October 30, 2017, 04:41:00 am
thanks! we have 2 days holiday over here starting tomorrow - will give it a spin ;)