Can't inject language into HTML style, class attributes

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?

11 comments
Comment actions Permalink

How HTML element inline style completion and navigation is implemented? Is it implemented through ReferenceProvider API?

0
Comment actions Permalink

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:

How HTML element inline style completion and navigation is implemented? Is it implemented through ReferenceProvider API?


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

0
Comment actions Permalink

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?

0
Comment actions Permalink

No, no

Alex Orishchenko wrote:

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?



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

0
Comment actions Permalink

bug: can't inject language into style attribute.

Do I need to file a JIRA issue? Or does the issue exists?

0
Comment actions Permalink

the same as for javascript

Alex Orishchenko wrote:

bug: can't inject language into style attribute.

Do I need to file a JIRA issue? Or does the issue exists?


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

0
Comment actions Permalink

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).

0
Comment actions Permalink

No, this is not a bug

Alex Orishchenko wrote:

The question: is this bug exist in JIRA? When will JB team fix the bug?



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

0
Comment actions Permalink

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):

0
Comment actions Permalink

Right now there is no language injection host in this attribute's value
(and javascript ones too)

Alex Orishchenko wrote:

Is some limitation of language injection API? Please explain why I can't inject own language into style attribute.


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

0

Please sign in to leave a comment.