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
As far as I can see, currently VS Code flatten TextMate scopes and this is impossible to get all scopes from specified location. It would be cool to have TextDocument method like 'getScope(at: Position):string[]' which returns the syntax scope names assigned to the given position.
for Position(1,12) – into the ‘color’ token this method may return: ['text.html.basic', 'source.css.embedded.html', 'meta.property-list.css', 'meta.property-name.css', 'support.type.property-name.css']
The text was updated successfully, but these errors were encountered:
As far as I can see, currently VS Code flatten TextMate scopes and this is impossible to get all scopes from specified location. It would be cool to have TextDocument method like 'getScope(at: Position):string[]' which returns the syntax scope names assigned to the given position.
for Position(1,12) – into the ‘color’ token this method may return:
['text.html.basic', 'source.css.embedded.html', 'meta.property-list.css', 'meta.property-name.css', 'support.type.property-name.css
']The text was updated successfully, but these errors were encountered: