News: Go to the front page portal to create a Torchmodders account | Visit the wiki!
December 12, 2017, 04:15:36 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 717 times)

Offline Vkoslak

  • Rare
  • *
  • Posts: 113
    • 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: 930
  • 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: 2283
  • Country: ph
  • previous avatar was too serious lol!
    • 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

  • Rare
  • *
  • Posts: 113
    • 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: 2283
  • Country: ph
  • previous avatar was too serious lol!
    • 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.

* Mod Boards Activity

* Who's Online

  • Dot Guests: 16
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.

* Calendar

December 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

[QUESTION] New models of NPCs by Phanjam
[Today at 12:55:58 PM]


the Skills Map creating process by Phanjam
[December 11, 2017, 04:14:18 PM]


Skills Expansion: Bugs Report & Ideas by Sch123
[December 10, 2017, 11:14:45 PM]


FEP+ by Viz
[December 10, 2017, 03:22:38 PM]


"Skills Masteries" Classless Concept by Phanjam
[December 10, 2017, 10:19:07 AM]


UA and Torchfun Combination by Zayn Malik
[December 05, 2017, 01:15:54 PM]


Alchemist Gameplay Feedback by Zayn Malik
[December 04, 2017, 04:53:50 PM]


Character Stats by lolesch
[December 04, 2017, 03:22:13 PM]


Variant Classes Mod Information by Viz
[November 28, 2017, 02:48:18 AM]


Tag Fix by Zayn Malik
[November 17, 2017, 08:12:25 PM]


Another Tag/Hash Tool by Phanjam
[November 17, 2017, 01:05:02 PM]


Torchlight 2 Tag Fixer - TL2TagFixer by Chthon by Chthon
[November 17, 2017, 12:17:36 PM]


Variant Classes Bug Reports by Viz
[November 12, 2017, 04:51:43 AM]


How many treasure can I add after defeating boss? by Zayn Malik
[November 07, 2017, 01:39:11 AM]


Anything you'd like to see changed or added her on TM? by Zayn Malik
[October 30, 2017, 02:15:17 PM]

* Popular Topics