-
Notifications
You must be signed in to change notification settings - Fork 29.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Show Comments in TextMate Scope Inspector #206192
Comments
This comment was marked as off-topic.
This comment was marked as off-topic.
Took a quick look at adding this. It will need a change in vscode-textmate. It should be very easy to show the comments in VS Code if microsoft/vscode-textmate#227 is added. |
Wow, thank you 😊! |
@Number-3434 just to be clear, I don't know if or when microsoft/vscode-textmate#227 will be added! But if it is, then the additional work will be small. |
@alexr00 I understand, I'm just very happy that it is now in the Backlog (instead of Backlog Candidates, which I've never been able to get more than 3 upvotes on) 😃. |
@alexr00 By the way, would it be possible to also include the |
|
In TextMate grammar, you can declare comments like so:
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
IToken
vscode-textmate#227The text was updated successfully, but these errors were encountered: