You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
VSCode recognizes +10 as a entity.name.tag but 10 as constant.numeric.integer.decimal.rust
This ultimately occurs because +10 is both a valid node name, and entry. Ideally +10 should be highlighted differently in the document +10 +10, but I don't thing this is achievable with regex's. But I think if +10 can only be a number or identifier, it's more likely to be a number.
The text was updated successfully, but these errors were encountered:
Maybe this changed, but this shouldn't be a valid identifier, it specifically excludes + followed up by a digit bare-identifier := ((identifier-char - digit - sign) identifier-char* | sign ((identifier-char - digit) identifier-char*)?) - keyword
Ideally +10 should be highlighted differently in the document +10 +10, but I don't thing this is achievable with regex's.
that's fine since you can have a node parsing rule have a higher priority, so the first +10 would be node, and the second +10 would be node attribute
VSCode recognizes
+10
as aentity.name.tag
but10
asconstant.numeric.integer.decimal.rust
This ultimately occurs because
+10
is both a valid node name, and entry. Ideally+10
should be highlighted differently in the document+10 +10
, but I don't thing this is achievable with regex's. But I think if+10
can only be a number or identifier, it's more likely to be a number.The text was updated successfully, but these errors were encountered: