Replies: 1 comment
-
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Symbols that delineate a comment, e.g. // or /*, should additionally use:
punctuation.definition.comment
Comments with special syntax that denote a section of code, should use the following scope on the text only. This will cause it to be shown in the symbol list.
meta.toc-list
Avoid
entity.name.type.class
andentity.name.type.struct
which unnecessarily nest scope labels under type.When styling scopes, resist the urge to directly style meta scopes. They are primarily intended to provide contextual information for preferences and plugins.
Minimal Scope Coverage
The following is a recommended minimal set of scopes to highlight. Adding extra may result in a slightly improved experience, however being too specific will result in a color scheme that often only looks good for one or two syntaxes.
Beta Was this translation helpful? Give feedback.
All reactions