# Language Injection Settings dialog: SQL Type Injection

> **TL;DR**
> `File | Settings | Editor | Language Injections |` ![](https://resources.jetbrains.com.cn/help/img/idea/2026.2/app.expui.general.add.svg) `| SQL Type Injection` for Windows and Linux
>
>
>
> `IntelliJ IDEA | Settings | Editor | Language Injections |` ![](https://resources.jetbrains.com.cn/help/img/idea/2026.2/app.expui.general.add.svg) `| SQL Type Injection` for macOS

Specify a data type pattern and associated injection language.

| Item | Description |
| --- | --- |
| Type pattern | A regular expression pattern for a data type in your SQL code. For example, `(?i).*DATA` would be a case-insensitive pattern for data types ending in `data`.      You can test your pattern: click ![](https://resources.jetbrains.com.cn/help/img/idea/2026.2/app.expui.codeInsight.intentionBulb.png) or press `Alt+Enter` (Windows), `⌥ ⏎` (macOS), `⌥ ⏎` (IntelliJ IDEA Classic (macOS)), `⌥ ⏎` (macOS System Shortcuts), `Alt+Enter` (XWin), `Alt+Enter` (GNOME), `Alt+Enter` (KDE), `Alt+Enter` (Emacs), `Alt+Enter` (Sublime Text), `⌥ ⏎` (Sublime Text (macOS)), `Alt+Enter` (NetBeans), `Alt+Enter` (Visual Studio), `⌥ ⏎` (Visual Studio (macOS)), `Ctrl+1` (Eclipse), `⌘ 1` (Eclipse (macOS)), 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.     |

## How it works

* [Language and reference injections](using-language-injections.html)

