Author Topic: Adding Comment Support to JSON and Other File Types  (Read 122 times)

brebey

  • Community Member
  • Posts: 57
  • Hero Points: 2
Adding Comment Support to JSON and Other File Types
« on: January 08, 2020, 09:45:27 pm »
I want to add "//" as a line-comment indicator in JSON files (*.json), and in other kinds of files, as well.

How do I make SlickEdit recognize "//" as a line-comment indicator in a JSON file so that it will properly color-code the comment lines?

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 5010
  • Hero Points: 417
Re: Adding Comment Support to JSON and Other File Types
« Reply #1 on: January 09, 2020, 03:57:38 am »
Type the following on the SlickEdit command line:

Code: [Select]
help Color Coding::creating support for a new language

This help item has a lot of how to's including one for adding a line comment

brebey

  • Community Member
  • Posts: 57
  • Hero Points: 2
Re: Adding Comment Support to JSON and Other File Types
« Reply #2 on: January 09, 2020, 01:58:06 pm »
Perfect!  Up and going in 2 minutes.  Very impressive Help detail - kudos, SlickEdit!