-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Conversation
Thanks @fr3nzzy. Can you sign the CLA http://dev.brackets.io/brackets-contributor-license-agreement.html before we merge? |
@jasonsanjose ofc, i will sign it tomorrow (i need to read it before, right?:)). If it's alright. I'm going to sleep now. |
Turns out, it's very small CLA. Signed. |
"mode": "vbscript", | ||
"fileExtensions": ["vbscript"], | ||
"blockComment": ["/*", "*/"], | ||
"lineComment": ["//"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line comments for VBScript are delimited with a single-quote, so this should be:
"lineComment": ["'"]
Done with code review. |
Fixed. My bad. |
Good catch. Correct there are no block comments in VBScript. There is also the REM single-line comment statement. |
…o line comments
I've removed block comments array for VBScript. Also REM added to list of line comments. |
I'll merge this to get coloring for .vbs files and .asp files get HTML tag coloring. Unfortunately, VBScript blocks in .asp file are not colored correctly, but it's not working for .aspx files, either. Note that detecting script block delimiters is tricky because there are many delimiters types:
|
#4883 added .ASP files highlighting
@redmunds Damn, i missed custom MIME declaration for "text/x-brackets-html". I can add Is there any way to enable |
I already merged this pull request, so start a new one. Since |
To do it right I think you'd really want a new Language declaration specifically for asp/aspx -- probably based on CodeMirror's newer "htmlembedded" mode. We're shoehorning a lot of file types into the basic HTML mode right now not because it's the best answer, but just because no one has implemented the custom mode that's needed yet. |
Issue #4883. Maps .ASP files to "htmlmixed" highlighting.