How is 'inject language' supposed to work?

(using Intellij with Python plugin)

I place the cursor over a string, alt-enter, select intention "inject language". After that, nothing has changed visibly, but I see no more intentions on that string (alt-enter does nothing) and can't select with alt-cursor up. Tried with SQLite and HTML.

What am I doing wrong and how is injection supposed to work?
0
3 comments
Which language did you actually choose to inject?
Documentation on language injection is available at http://www.jetbrains.com/idea/webhelp/using-language-injections.html
0
Avatar
Permanently deleted user
Like this:
s = '<html></html>'

Place cursor on the string, inject -> HTML, nothing (liked described above). Just tried with a new project and a one-liner python script - same.
0
Thanks for the details. It appears to be a bug. I've reported it at http://youtrack.jetbrains.com/issue/IDEA-108588 , follow the issue for notifications.

See http://intellij-support.jetbrains.com/entries/23368682 if you are not familiar with YouTrack.
0

Please sign in to leave a comment.