Using JScript instead of VBScript as ASP language

Discuss syntax highlighting or submit new syntax files.
Post Reply
Ike
Posts: 1
Joined: 12 Jun 2017 09:51

Using JScript instead of VBScript as ASP language

Post by Ike »

Is it possible to get the syntax highlighter to highlight code between <% ... %> as JScript instead of VBscript ?

Thanks.
crtrubshaw
Posts: 322
Joined: 06 Jun 2012 11:08

Re: Using JScript instead of VBScript as ASP language

Post by crtrubshaw »

Hi Rickard, I would also like to know if this is possible, is there an option to specify the default scripting language for ASP pages (and therefore change the highlighter)?
User avatar
Rickard Johansson
Site Admin
Posts: 6575
Joined: 19 Jul 2006 14:29

Re: Using JScript instead of VBScript as ASP language

Post by Rickard Johansson »

In the ASP.syx file, change the first line to

Code: Select all

;{$Html;Html.syx|JScript.syx}
Post Reply