Custom language for some HTML attribute values

Is it possible?

0
3 comments
Avatar
Permanently deleted user

I try to extend HTML editor that some attributes have Java Expression values and support "Go to declaration" and "Error Highlighting" features.

Does exist some way to inform HTML parser to parse these attribute values as Java expressions (not simple text)?

0
Avatar
Permanently deleted user

Hi,

IDEA supports this via references and their providers.

Alexei wrote:

I try to extend HTML editor that some attributes have Java Expression values and support "Go to declaration" and "Error Highlighting" features.

Does exist some way to inform HTML parser to parse these attribute values as Java expressions (not simple text)?



--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0
Avatar
Permanently deleted user

I believe this is not possible in 5.0 without reimplementing or
decompiling & changing the XML language. I believe it's planned for 6.0
(see http://jetbrains.net/jira/browse/IDEABKL-3328,
http://jetbrains.net/jira/browse/IDEADEV-3135)

Alexei wrote:

Is it possible?

0

Please sign in to leave a comment.