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?
Which language did you actually choose to inject?
Documentation on language injection is available at
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.
Thanks for the details. It appears to be a bug. I've reported it at , follow the issue for notifications.

See if you are not familiar with YouTrack.

Please sign in to leave a comment.