microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
163.05k stars 28.8k forks source link

Setting for Specific TextMate Tokens to Override Semantic Token #205988

Closed Number-3434 closed 1 month ago

Number-3434 commented 7 months ago

Views

Please add a setting to TextMate tokens that will allow them to override (potentially specified) semantic tokens.

For example:

{
    "textMateRules": [
        {
            "scope": [
                "meta.embedded.markdown.dart",
            ],
            "settings": {
                "foreground": "#FF97E9",
                "semanticTokenOverrides": [
                    "documentation comment",
                    "*.comment",
                ],
            },
        },
    ],
}

N.B. This is specifically to allow the user and themes to customise the highlighting, not in the TextMate grammar.

VSCodeTriageBot commented 3 months ago

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.

Happy Coding!

vs-code-engineering[bot] commented 1 month ago

This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation.

Happy Coding!

vs-code-engineering[bot] commented 1 month ago

:slightly_frowning_face: In the last 60 days, this feature request has received less than 20 community upvotes and we closed it. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our documentation.

Happy Coding!