IntelliJ IDEA 2016.3 Help

Language Injection Settings dialog: Java Parameter

File | Settings | Language Injection - Java Parameter
Ctrl+Alt+S
/help/img/idea/2016.3/settings.png

The dialog box opens when you click add.png on the Language Injections page, and choose Java Parameter on the context menu, or select an entry and click properties.gif.

Use this dialog box to configure language injections for Java parameters. The dialog box provides the ability to make use of IntelliLang's features, if, for any reason, the injection annotations cannot be used. This mainly applies to configuring third party/library methods as well as projects that still have to use Java 1.4.

ItemDescription
LanguageIn this area, specify the language to inject and the injection context.
  • ID - from this drop-down list, select the ID of the language to inject.
  • Prefix - in this text box, specify a prefix to make up the injection context.
  • Suffix - in this text box, specify a suffix to make up the injection context.

Note that the Prefix and Suffix fields are optional.

Class MethodsClick browseButton.png and select the class of interest. As a result, the methods of the class along with their parameters are shown.

Select the parameters for which you want to enable the injection.

Advanced Specify additional settings.
  • Value pattern - type a regular expression for the injection context.
  • Single file - select this check box to specify an exact file to apply the injection to.

See Also

Last modified: 7 December 2016