viewpoint-particle

Author Topic: Anyone Know a Good VSCode Colorizer for WinBatch  (Read 335 times)

NoelC

  • Newbie
  • *
  • Posts: 3
Anyone Know a Good VSCode Colorizer for WinBatch
« on: February 10, 2019, 08:19:53 am »
What's a good way to see WinBatch sources in VSCode with colorizing? 

Assigning it C language colorizing seems to get some of the way there, but semicolons trip it up.

Can we maybe use a C++ single line comment style in WinBatch?

There's probably a combo of tricks that gets one close.  I'm interested to hear what you've come up with.

-Noel

td

  • Tech Support
  • *****
  • Posts: 3016
    • WinBatch
Re: Anyone Know a Good VSCode Colorizer for WinBatch
« Reply #1 on: February 10, 2019, 08:41:13 am »
Why not just use WinBatch Studio?
"No one who sees a peregrine falcon fly can ever forget the beauty and thrill of that flight."
  - Dr. Tom Cade

NoelC

  • Newbie
  • *
  • Posts: 3
Re: Anyone Know a Good VSCode Colorizer for WinBatch
« Reply #2 on: February 10, 2019, 09:43:00 am »
Personal preference, mostly.  You tend to get used to the way an editor works when you use it for many hours a day and you look for ways to integrate the other things you do into it.

-Noel

JTaylor

  • Pundit
  • *****
  • Posts: 1014
    • Data & Stuff Inc.
Re: Anyone Know a Good VSCode Colorizer for WinBatch
« Reply #3 on: February 10, 2019, 10:32:07 am »
Assuming I understand the question...maybe this will help???

    https://css-tricks.com/creating-a-vs-code-theme/

Jim

NoelC

  • Newbie
  • *
  • Posts: 3
Re: Anyone Know a Good VSCode Colorizer for WinBatch
« Reply #4 on: February 14, 2019, 06:47:01 am »
Not really; I have a decent theme (i.e., dark background, code elements colored in certain ways, etc.), but I was curious whether anyone had come up with something that understands the wbt syntax - e.g., so comments, keywords, etc. are colored the way the user's theme sets them.

-Noel

td

  • Tech Support
  • *****
  • Posts: 3016
    • WinBatch
Re: Anyone Know a Good VSCode Colorizer for WinBatch
« Reply #5 on: February 14, 2019, 08:17:12 am »
You could always role-your-own if it is important enough to you.  Not sure how much interest there is but maybe start a Github project to get contributions from others.
"No one who sees a peregrine falcon fly can ever forget the beauty and thrill of that flight."
  - Dr. Tom Cade

JTaylor

  • Pundit
  • *****
  • Posts: 1014
    • Data & Stuff Inc.
Re: Anyone Know a Good VSCode Colorizer for WinBatch
« Reply #6 on: February 14, 2019, 10:57:18 am »
Okay.   I thought what I posted showed you, as part of the theme, how to set the colorization for the text.    Just figured if you started with the C++ theme you are using you could tweak it to do what you wanted.   Must have misunderstood.  Sorry.

Jim