Skip to content

Commit

Permalink
Added semantic token scopes for Regex
Browse files Browse the repository at this point in the history
  • Loading branch information
TechPizzaDev committed Nov 18, 2021
1 parent f1e6c0a commit cba7893
Showing 1 changed file with 66 additions and 0 deletions.
66 changes: 66 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3598,6 +3598,38 @@
{
"id": "xmlDocCommentText",
"description": ""
},
{
"id": "regexComment",
"description": ""
},
{
"id": "regexCharacterClass",
"description": ""
},
{
"id": "regexAnchor",
"description": ""
},
{
"id": "regexQuantifier",
"description": ""
},
{
"id": "regexGrouping",
"description": ""
},
{
"id": "regexAlternation",
"description": ""
},
{
"id": "regexSelfEscapedCharacter",
"description": ""
},
{
"id": "regexOtherEscape",
"description": ""
}
],
"semanticTokenModifiers": [],
Expand Down Expand Up @@ -3735,6 +3767,40 @@
],
"xmlDocCommentText": [
"comment.documentation.cs"
],
"regexComment": [
"string.regexp.comment.cs"
],
"regexCharacterClass": [
"constant.character.character-class.regexp.cs",
"constant.other.character-class.set.regexp.cs",
"constant.other.character-class.regexp.cs",
"constant.character.set.regexp.cs"
],
"regexAnchor": [
"keyword.control.anchor.regexp.cs"
],
"regexQuantifier": [
"keyword.operator.quantifier.regexp.cs"
],
"regexGrouping": [
"punctuation.definition.group.regexp.cs",
"punctuation.definition.group.assertion.regexp.cs",
"punctuation.definition.character-class.regexp.cs",
"punctuation.character.set.begin.regexp.cs",
"punctuation.character.set.end.regexp.cs",
"keyword.operator.negation.regexp.cs",
"support.other.parenthesis.regexp.cs"
],
"regexAlternation": [
"keyword.operator.or.regexp.cs",
"keyword.control.anchor.regexp.cs"
],
"regexSelfEscapedCharacter": [
"string.regexp.self-escaped-character.cs"
],
"regexOtherEscape": [
"string.regexp.other-escape.cs"
]
}
}
Expand Down

0 comments on commit cba7893

Please sign in to comment.