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 » 12 Jun 2017 09:58

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

Thanks.

crtrubshaw
Posts: 231
Joined: 06 Jun 2012 11:08

Re: Using JScript instead of VBScript as ASP language

Post by crtrubshaw » 04 Jun 2018 17:21

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: 5717
Joined: 19 Jul 2006 14:29

Re: Using JScript instead of VBScript as ASP language

Post by Rickard Johansson » 11 Jun 2018 10:37

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

Code: Select all

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

Post Reply