Skip to content

Instantly share code, notes, and snippets.

@dacohenii
Created March 11, 2014 13:46
Show Gist options
  • Save dacohenii/9485946 to your computer and use it in GitHub Desktop.
Save dacohenii/9485946 to your computer and use it in GitHub Desktop.
Sublime Text ASP Comments
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>name</key>
<string>Comments</string>
<key>scope</key>
<string>source.asp</string>
<key>settings</key>
<dict>
<key>shellVariables</key>
<array>
<dict>
<key>name</key>
<string>TM_COMMENT_START</string>
<key>value</key>
<string>'</string>
</dict>
</array>
</dict>
<key>uuid</key>
<string>c2eb8775-7b76-40e8-ac01-b9bc7b2dfbfc</string>
</dict>
</plist>
@dacohenii
Copy link
Author

How to get comments working properly with ASP

When you're writing ASP in Sublime Text, the ctrl+/ shortcut to add comments to a line (or a block of text) doesn't work correctly, generating an HTML comment instead (i.e. <!-- and -->).

To fix this, just download or copy/paste comments.tmPreferences into your Sublime Text user folder. (If you don't know where that is, open Sublime, click "Browse Packages" under the Preferences menu, and the user folder should be there.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment