News: Go to the front page portal to create a Torchmodders account | Visit the wiki!
October 20, 2017, 02:14:24 PM
collapse

*
Information

Please contribute to our


Sign up for a forum account at the Front Page. | Remember to Tag your posts.
Having problems logging in to the forums? Go the front page, log out and back in again.

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

Offline Vkoslak

  • Rare
  • *
  • Posts: 110
    • View Profile
DAT file syntax highlighter for VS Code
« on: October 11, 2017, 05:02:29 AM »
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/Vkoslak/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: October 11, 2017, 05:08:42 AM by Vkoslak »

Offline Kva3imoda

  • Developer
  • Legendary
  • *
  • Posts: 929
  • Country: ru
    • status ready
    • View Profile
  • Mood: mood cool
Re: DAT file syntax highlighter for VS Code
« Reply #1 on: October 11, 2017, 12:16:24 PM »
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.

Tags: dat syntax code 
 

* Quick Search


* Member Information

 
 
Welcome, Guest. Please login or register.

* Mod Boards Activity

* Who's Online

  • Dot Guests: 10
  • Dot Hidden: 0
  • Dot Users: 1
  • Dot Users Online:

* Calendar

October 2017
Sun Mon Tue Wed Thu Fri Sat
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 [20] 21
22 23 24 25 26 27 28
29 30 31

No calendar events were found.

* Recent Topics

Skills Expansion: Bugs Report & Ideas by Viz
[Today at 02:30:09 AM]


Some Bugs Report and Request Idea by Sch123
[October 19, 2017, 12:37:19 PM]


FEP+ by steffire3
[October 18, 2017, 05:35:16 AM]


Variant Classes by steffire3
[October 18, 2017, 05:29:10 AM]


Hob got released today by Aherin
[October 16, 2017, 05:14:37 AM]


DAT file syntax highlighter for VS Code by Kva3imoda
[October 11, 2017, 12:16:24 PM]


[PET] Chibi Miku Hatsune Mod by Sch123
[October 08, 2017, 01:45:26 AM]


Cast on crit as an item affixe ? by gytfunke
[October 05, 2017, 02:26:14 PM]


Triggerable annoyance by Viz
[October 04, 2017, 04:05:31 PM]


TIDBI.RU Build Calcularor Support For Custom Classes by Phanjam
[September 17, 2017, 10:37:37 PM]

* Popular Topics