IntelliJ IDEA 2016.3 Help

Language Injection Settings dialog: Sql Type Injection

File | Settings | Editor | Language Injections | /help/img/idea/2016.3/new.png | Sql Type Injection for Windows and Linux
IntelliJ IDEA | Preferences | Editor | Language Injections | /help/img/idea/2016.3/new.png | Sql Type Injection for OS X


Specify a data type pattern and associated injection language. See also, Using pattern-based injections for user-defined data types.

ItemDescription
Type patternA regular expression pattern for a data type in your SQL code. E.g. (?i).*DATA would be a case-insensitive pattern for data types ending in data.

You can test your pattern: click /help/img/idea/2016.3/intentionBulb.png or press Alt+Enter, and select Check RegExp. Then type the text to be matched against the pattern in the Sample field.

Language The language to be injected into a string value of the corresponding type.
  • ID. The language ID or name.
  • Prefix. A sequence of characters to be added before the corresponding string value.
  • Suffix. A sequence of characters to be added after the corresponding string value.

The prefix and suffix are optional. For more info, see Using language injection prefixes and suffixes.

See Also

Last modified: 7 December 2016