BZW Syntax Highlighting for VSCode

General talk about the map making process.
Post Reply
User avatar
Spazzy McGee
Sergeant Major
Sergeant Major
Posts: 1405
Joined: Mon Mar 21, 2005 4:59 pm
Location: Planet MoFo, Sheffield Division; United Kingdom

BZW Syntax Highlighting for VSCode

Post by Spazzy McGee »

Hello All,

Long time no see and all that.

As a little day-project to learn more about VSCode extensions, I put together a syntax highlighting extension for showing BZW files in VSCode.

The github repository is here, you can either package it yourself or there are pre-packaged .vslx extensions in 'Releases'.

There's probably loads of bugs, but it seems to mostly work fine. I used the wiki docs, but I think there may be one or two things that have been added to BZW but are not extensively documented.

I didn't know if somebody had already done this, but hopefully it's useful to somebody.
"Life is what happens to you while you're busy making other plans." - John Lennon
User avatar
tainn
Private First Class
Private First Class
Posts: 278
Joined: Sun Nov 18, 2018 7:25 pm
Location: phantom_zone;

Re: BZW Syntax Highlighting for VSCode

Post by tainn »

I want this, but for JetBrains IDEs. :^)
User avatar
Spazzy McGee
Sergeant Major
Sergeant Major
Posts: 1405
Joined: Mon Mar 21, 2005 4:59 pm
Location: Planet MoFo, Sheffield Division; United Kingdom

Re: BZW Syntax Highlighting for VSCode

Post by Spazzy McGee »

The VSCode syntax highlighting is basted on the Textmate standard, which it looks like JetBrains supports so you may be able to adapt it to suit you needs.
"Life is what happens to you while you're busy making other plans." - John Lennon
Post Reply