Opening and Closing Language Injections in the Editor
Language injections are opened in the editor by means of
a dedicated intention action Open <Injected Language> Fragment.
To open a language injection in the editor:
- In the editor, place the cursor within the string literal that represents the language injection of interest.
- To show the available intention actions, do one of the following:
- Click the yellow bulb .
- Press Alt+Enter.
-
To select the Edit <Injected Language> Fragment option, do one of the following:
- Click this option.
- Use the Up and Down arrow keys to navigate to the option,
and then press Enter to select it.
To close an editor for a language injection, you can use the same options as for
closing files.
Last modified: 24 November 2016