# Smart Keys settings: YAML

> **TL;DR**
> `File | Settings | Editor | General | Smart Keys | YAML` for Windows and Linux
>
>
>
> `CLion | Settings | Editor | General | Smart Keys | YAML` for macOS
>
>
>
> `Ctrl+Alt+S` (Windows), `⌘ Comma` (macOS), `⌘ Comma` (IntelliJ IDEA Classic (macOS)), `⌘ Comma` (macOS System Shortcuts), `Ctrl+Alt+S` (XWin), `Ctrl+Alt+S` (GNOME), `Ctrl+Alt+S` (KDE), `Ctrl+Alt+S` (Emacs), `Ctrl+Alt+S` (Sublime Text), `⌘ Comma` (Sublime Text (macOS)), `⌘ Comma` (Xcode), `Ctrl+Alt+S` (Visual Studio), `⌘ Comma` (Visual Studio (macOS)), `Ctrl+Alt+S` (ReSharper), `⌘ Comma` (ReSharper (macOS)), `Ctrl+Alt+S` (QtCreator), `⌘ Comma` (QtCreator (macOS)), `Ctrl+Alt+S` (NetBeans), `Ctrl+Alt+S` (Eclipse), `⌘ Comma` (Eclipse (macOS)) ![the Settings icon](https://resources.jetbrains.com.cn/help/img/idea/2026.2/app.expui.general.settings.svg)

Use this settings page to configure typing assistance features in YAML.

| Item | Description |
| --- | --- |
| Auto expand key sequences upon paste |     With this option selected, CLion properly formats key sequences when you paste them from the clipboard. For example, the `key2.another_key` sequence pasted from the clipboard will be displayed with the correct hierarchy.      ![Auto expand key sequences upon paste is on](https://resources.jetbrains.com.cn/help/img/idea/2026.2/yaml_key_sequence.png)    Otherwise, if the option is cleared, key sequences are pasted from the clipboard "as is", hierarchy is not preserved, and consequently proper highlighting is not provided.      ![Auto expand key sequences upon paste is off](https://resources.jetbrains.com.cn/help/img/idea/2026.2/yaml_key_sequence_off.png)  |

