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
Prior 1.9, we can colorize new Date() as yellow (so as function color) by using new.expr.entity.name.type rule, but we cannot colorize it with this way anymore.
I want to use different syntax for entity.name.type and new.expr.entity.name
So I'd request a new grammar like new.expr.entity.name to colorize Date from above screenshot.
The text was updated successfully, but these errors were encountered:
The scope for Date in your sample is: source.ts meta.var.expr.ts new.expr.ts entity.name.type.ts
Using microsoft/vscode#17933 you should be colorize these accordingly. It doesn't need change in the grammar.
TS and JS Grammar Extension version: 0.0.18 / latest
With VSCode 1.9 update, merging tmTheme grammar token has been broken:
https://code.visualstudio.com/updates/v1_9#_theme-matching-rules-now-respect-textmate-semantics
Prior 1.9, we can colorize
new Date()
as yellow (so as function color) by usingnew.expr.entity.name.type
rule, but we cannot colorize it with this way anymore.I want to use different syntax for
entity.name.type
andnew.expr.entity.name
So I'd request a new grammar like
new.expr.entity.name
to colorizeDate
from above screenshot.The text was updated successfully, but these errors were encountered: