News:

SMFNew Installed

+-+-

User+-

Welcome, Guest.
Please login or register.
 
 
 

Login with your social network

Forgot your password?

Site Stats+-

Members
Total Members: 728
Latest: Cho
New This Month: 0
New This Week: 0
New Today: 0
Stats
Total Posts: 10932
Total Topics: 795
Most Online Today: 325
Most Online Ever: 854
(September 18, 2024, 07:49:37 am)
Users Online
Members: 0
Guests: 347
Total: 347

Author Topic: DAT file syntax highlighter for VS Code  (Read 2496 times)

0 Members and 98 Guests are viewing this topic.

DAT file syntax highlighter for VS Code
« on: »
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.
« Last Edit: April 21, 2018, 04:20:26 pm by Vkoslak »

Share on Bluesky Share on Facebook


Re: DAT file syntax highlighter for VS Code
« Reply #1 on: »
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.

Re: DAT file syntax highlighter for VS Code
« Reply #2 on: »
Prerequisite is Visual Studio then?  I'll figure it out... :P


Re: DAT file syntax highlighter for VS Code
« Reply #3 on: »
Visual studio code.

Visual Studio Code redefines AI-powered coding with GitHub Copilot for building and debugging modern web and cloud applications. Visual Studio Code is free and available on your favorite platform -...
code.visualstudio.com



Re: DAT file syntax highlighter for VS Code
« Reply #4 on: »
thanks! we have 2 days holiday over here starting tomorrow - will give it a spin ;)


 

Recent Topics+-