News: Go to the front page portal to create a Torchmodders account | Visit the wiki!
January 24, 2019, 08:30:43 AM
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 1665 times)

Offline Vkoslak

  • Developer
  • Rare
  • *
  • Posts: 153
    • 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/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, 11:20:26 PM by Vkoslak »

Offline Kva3imoda

  • Developer
  • Legendary
  • *
  • Posts: 1055
  • 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.

Offline Phanjam

  • Operator
  • Legendary
  • *
  • Posts: 2580
  • Country: ph
    • status ready
    • View Profile
  • Mood: mood angel
Re: DAT file syntax highlighter for VS Code
« Reply #2 on: October 29, 2017, 05:46:34 AM »
Prerequisite is Visual Studio then?  I'll figure it out... :P



Offline Vkoslak

  • Developer
  • Rare
  • *
  • Posts: 153
    • View Profile
Re: DAT file syntax highlighter for VS Code
« Reply #3 on: October 29, 2017, 03:24:07 PM »

Offline Phanjam

  • Operator
  • Legendary
  • *
  • Posts: 2580
  • Country: ph
    • status ready
    • View Profile
  • Mood: mood angel
Re: DAT file syntax highlighter for VS Code
« Reply #4 on: October 30, 2017, 11:41:00 AM »
thanks! we have 2 days holiday over here starting tomorrow - will give it a spin ;)



Tags: dat syntax code 
 

* Quick Search


* Member Information

 
 
Welcome, Guest. Please login or register.
Did you miss your activation email?

* Mod Boards Activity

* Who's Online

  • Dot Guests: 8
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.

* Calendar

January 2019
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

Deathknight class by Sch123
[Today at 03:09:58 AM]


[CLASS] Emberdrake by Lord Nyriox
[January 21, 2019, 09:08:23 PM]


Pet Variants Mod by Lord Nyriox
[January 20, 2019, 10:59:51 PM]


Need help on an issue with no help anywhere by Korzeam
[January 19, 2019, 05:47:26 AM]


Torchlight Frontiers announced by Kva3imoda
[January 19, 2019, 01:33:56 AM]


Lord Nyriox's Blog by Lord Nyriox
[January 16, 2019, 07:18:27 AM]


[TL2] Ultra Respec by Phanjam
[January 09, 2019, 01:27:56 PM]


Playable Zealot by Lord Nyriox
[January 08, 2019, 06:55:49 PM]


Medea Pet to Class by DragonDawn
[January 08, 2019, 12:37:05 AM]


[TL2] Ultimate Respec Lite by Lord Nyriox
[January 07, 2019, 06:07:17 PM]


Fate Items by Lord Nyriox
[January 05, 2019, 10:55:30 AM]


Notepad++ Custom Language File (Syntax Highlight) by Lord Nyriox
[December 29, 2018, 09:05:41 PM]


[WIP] Lazarus Pack by Lord Nyriox
[December 29, 2018, 06:41:39 AM]


Floaty Torchlight Cube by Lord Nyriox
[December 29, 2018, 06:21:00 AM]


[SCRIPT] Automatic Mesh Rebuilding by Lord Nyriox
[December 26, 2018, 03:41:03 PM]

* Popular Topics