IntelliJ IDEA 12.1.0 Web Help

10.0+

Language injections are opened in the editor by means of a dedicated intention actionOpen <Injected Language> Fragment.

To open a language injection in the editor:
  1. In the editor, place the cursor within the string literal that represents the language injection of interest.
  2. To show the available intention actions, do one of the following:
    • Click the yellow bulb intentionBulb.png.
    • Press Alt+EnterAlt+Enter.
  3. To select the Edit <Injected Language> Fragment option, do one of the following:
    • Click this option.
    • Use the UpUp and DownDown arrow keys to navigate to the option, and then press EnterEnter to select it.

    editInjectedLanguageFragmentIntention.png

See Also

Concepts:

Procedures:

Web Resources: