News: Go to the front page portal to create a Torchmodders account | Visit the wiki!
February 25, 2018, 05:34:01 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 1010 times)

Offline Vkoslak

  • Rare
  • *
  • Posts: 115
    • 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: 952
  • 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: 2307
  • 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: 115
    • 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: 2307
  • 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: 1
  • Dot Hidden: 0
  • Dot Users: 1
  • Dot Users Online:

* Calendar

February 2018
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

No calendar events were found.

* Recent Topics

FEP+ by Viz
[February 20, 2018, 08:44:10 AM]


Item Affix Randomizer (Bound Saves) by steffire3
[February 12, 2018, 10:32:37 PM]


Parallel Classes by steffire3
[February 10, 2018, 06:32:31 PM]


Variant Classes Mod Information by Sch123
[February 07, 2018, 03:20:19 PM]


Site Recruitment by Sch123
[February 06, 2018, 12:35:38 AM]


Request: How to merge Diablo theme mods? by steffire3
[February 03, 2018, 09:14:47 PM]


Class: Myrmidon by Sch123
[February 03, 2018, 08:35:51 AM]


My next class concept by Sch123
[February 03, 2018, 03:56:15 AM]


"A long time ago in a galaxy far, far away...." by Sch123
[January 31, 2018, 11:10:36 PM]


Request: Amaterasu (Okami) & Ammy (Dota2) by steffire3
[January 30, 2018, 10:49:14 AM]


1st Class Creation - Lightbringer by Rhythmier
[January 30, 2018, 08:39:14 AM]


"Skills Masteries" Classless Concept by Sch123
[January 29, 2018, 04:09:49 PM]


Ruination by Sch123
[January 29, 2018, 04:58:12 AM]


Hello friends by steffire3
[January 23, 2018, 05:05:29 PM]


Unearthed Arcana Compatability by DeeZire
[January 18, 2018, 01:26:00 PM]

* Popular Topics