Sublime Forum

Classic Asp

#1

Hello, Is there a way to show the match for these(<% %>) in classic asp? Thanks for the help!

0 Likes

#2

Not sure if you’re asking about colouring or matching, so here goes…

Colouring: If you choose ASP or HTML (ASP) as the syntax for the file you’re editing, you should see ASP code coloured correctly in between <% %>. In the case of HTML (ASP) you’ll see the outer HTML code coloured correctly as well.

Matching: <% %> are not matched by default in Sublime but you can get this quite easily with the excellent BracketHighlighter plugin which has a ton of features and tweaks.

:smile:

0 Likes

#3

[quote=“qgates”]
Matching: <% %> are not matched by default in Sublime but you can get this quite easily with the excellent BracketHighlighter plugin which has a ton of features and tweaks.

:smile:[/quote]

I am indeed looking to match the <% %> brackets. I took your advice and downloaded the plugin and it works great on all of the languages except still nothing for classic asp :frowning:

I took a look at the documentation but wasn’t able to find any information on how to get it working. Is there some code I have to add or setting that needs to be changed?

Thank you for your help!

0 Likes

#4

Doesn’t the documentation help?

:smile:

0 Likes

#5

[quote=“qgates”]Doesn’t the documentation help?

:smile:[/quote]

I’m running into a bit of trouble. I understand the brackets need to be configured in the bh_core.sublime-settings file. However, I am not sure where I can find this file. Any help would be appreciated.

Thank you.

0 Likes

#6

Assuming BH is installed correctly, you can use the menu:

Preferences…Package Settings…BracketHighlighter…Bracket Settings (User)

to add your overrides to the default BH configuration. If the file is empty and you’re unsure what to do, load up Bracket Settings (Default) and copy-paste everything into Bracket Settings (User), then make your adjustments to the settings in Bracket Settings (User).

:smile:

0 Likes

#7

Thank you very much qgates! I appreciate all of your help! Worked like a charm!

0 Likes