Can't inject language into HTML style, class attributes Follow
I have injected the language into HTML attribute values.
Completions, navigations, syntax highlighting work good for all attributes except style, class and javascript specific.
How to inject the language into these attributes correctly or disable default behaviour?
Please sign in to leave a comment.
How HTML element inline style completion and navigation is implemented? Is it implemented through ReferenceProvider API?
It is implemented via closed API (not injection or reference providers)
so right now there is no ability to switch it off.
Alex Orishchenko wrote:
--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"
Can I switch off styles injection into some HTML attribute values in the Idea 7?
Is Javascript language embedded into HTML attribute values via language injection?
No, no
Alex Orishchenko wrote:
--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"
bug: can't inject language into style attribute.
Do I need to file a JIRA issue? Or does the issue exists?
the same as for javascript
Alex Orishchenko wrote:
--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"
The question: is this bug exist in JIRA? When will JB team fix the bug?
I wrote the previous message because it will be good if you fix the bug for style attribute first (if it's simpler that fix for 2 cases).
No, this is not a bug
Alex Orishchenko wrote:
--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"
Is some limitation of language injection API? Please explain why I can't inject own language into style attribute. As I understand the style functionality is implemented through closed API that doesn't aware about language injection API.
I need this injection for Tapestry plugin[/url]. For example, Tapestry component with style attribute (OGNL injected):
Right now there is no language injection host in this attribute's value
(and javascript ones too)
Alex Orishchenko wrote:
--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"
test