[css] @namespace is not syntax highlighted #1659
Labels
bug
Issue identified by VS Code Team member as probable bug
css-less-scss
Issues and items concerning CSS,Less,SCSS styling
upstream
Issue identified as 'upstream' component related (exists outside of VS Code)
Milestone
Works correctly in the parser for linting and in Intellisense, but isn't syntax highlighted as missing from css.plist
Syntax should be:
namespace
: NAMESPACE_SYM S* [namespace_prefix S_]? [STRING|URI] S_ ';' S*
;
namespace_prefix
: IDENT
;
My knowledge of the syntax of css.plist and regexp isn't good enough at the moment to work out how to add the optional IDENT, as there is no predefined ident like there is for strings, etc. I know how to highlight the @namespace and string component though.
I figure the IDENT should be coloured the same as @namespace as that is how the media type token is coloured for '@media media-type'
The text was updated successfully, but these errors were encountered: