.json syntax highlighting

Let us know what you would like to see in the next version of this software

Moderator: kfury77

Forum rules
Please follow these guidelines when posting feature requests. This will help to increase the value of your contribution.
  • Do not create new topics for already requested features. Add your comments to the existing feature request topics instead;
  • Create separate topic for each feature suggestion. Do NOT post a number of non-related feature suggestions in a single topic;
  • Give your topic a meaningful title. Do NOT create topics with meaningless titles, such as "My Suggestion" or "My Problem".
Please note that we DO READ all suggestions, even if a reply is not posted. Thanks!
Post Reply
Kise
Posts: 5
Joined: Mon Dec 06, 2010 3:55 pm

.json syntax highlighting

Post by Kise »

Hello

could we get syntax highlighting for .json files?
User avatar
Aivars
Blumentals Software Developer
Posts: 2462
Joined: Thu Aug 22, 2002 1:40 pm
Location: Latvia

Re: .json syntax highlighting

Post by Aivars »

I'll add the suggestion to list. Should be similar to .js syntax with maybe a few json specific enhancements here and there.
Blumentals Software Programmer
Kise
Posts: 5
Joined: Mon Dec 06, 2010 3:55 pm

Re: .json syntax highlighting

Post by Kise »

Yeah its really simple to do, if i knew how to modify & add new syntax i would do it myself :S
User avatar
Aivars
Blumentals Software Developer
Posts: 2462
Joined: Thu Aug 22, 2002 1:40 pm
Location: Latvia

Re: .json syntax highlighting

Post by Aivars »

I think a good start start would be highlighting .json files as JavaScript. Go to Options -> Preferences -> Document Types -> JavaScript and add json to list of file extensions.
Blumentals Software Programmer
Kise
Posts: 5
Joined: Mon Dec 06, 2010 3:55 pm

Re: .json syntax highlighting

Post by Kise »

yeah that will do for now

Thank you
Post Reply