Skip to content
This repository has been archived by the owner on Jan 11, 2020. It is now read-only.

Tag highlighting #73

Open
fortael opened this issue Jan 2, 2017 · 2 comments
Open

Tag highlighting #73

fortael opened this issue Jan 2, 2017 · 2 comments

Comments

@fortael
Copy link

fortael commented Jan 2, 2017

Is that even possible to highlight vue tags? I already add two regex for @ and v-* but it does not work with :. For example

2017-01-02_23-00-12
2017-01-02_23-00-12

But ide ignores : at all, even with regex. It some kind of problem with xml standarts, I think...

2017-01-02_23-00-12
2017-01-02_23-00-12
2017-01-02_23-00-12

@amcsi
Copy link

amcsi commented Jan 2, 2017

: is actually valid according to the XML standard.

https://www.w3.org/TR/REC-xml/#NT-Attribute
https://www.w3.org/TR/REC-xml/#NT-NameStartChar

[4]   	NameStartChar	   ::=   	":" | [A-Z] | "_" | [a-z] | [#xC0-#xD6] | [#xD8-#xF6] | [#xF8-#x2FF] | [#x370-#x37D] | [#x37F-#x1FFF] | [#x200C-#x200D] | [#x2070-#x218F] | [#x2C00-#x2FEF] | [#x3001-#xD7FF] | [#xF900-#xFDCF] | [#xFDF0-#xFFFD] | [#x10000-#xEFFFF]
[4a]   	NameChar	   ::=   	NameStartChar | "-" | "." | [0-9] | #xB7 | [#x0300-#x036F] | [#x203F-#x2040]
[5]   	Name	   ::=   	NameStartChar (NameChar)*

@fortael
Copy link
Author

fortael commented Jan 3, 2017

Okay, but idea core for some reasons do not parse :. I even can not use escape char like \:[a-z].*. It is automatically deleted. So i believe the plugin may help.

Even this does not work.
img

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants