-
Notifications
You must be signed in to change notification settings - Fork 37.6k
Open
Labels
feature-requestRequest for new features or functionalityRequest for new features or functionalitygrammarSyntax highlighting grammarSyntax highlighting grammar
Milestone
Description
In TextMate grammar, you can declare comments like so:
[
{
"match": "^(!!!|doctype)(\\s*[a-zA-Z0-9-_]+)?",
"name": "meta.tag.sgml.doctype.html",
"comment": "Doctype declaration."
},
]It would be useful if VSCode showed the comments in some way, as currently they are only descriptive in the TextMate file, and do not provide any external help.
This could be used to provide basic documentation for TextMate scopes.
You can also declare names for token customisations.
Proposal
Show comments in the TextMate scope inspector (access using Developer: Inspect Editor Tokens and Scopes (editor.action.inspectTMScopes))
### Tasks
- [ ] https://github.com/microsoft/vscode-textmate/issues/227
RedCMD, anticultist, dragon-archer and Number-3434Number-3434
Metadata
Metadata
Assignees
Labels
feature-requestRequest for new features or functionalityRequest for new features or functionalitygrammarSyntax highlighting grammarSyntax highlighting grammar
