# Code Editing

> **TL;DR**
> `File | Settings | Editor | Code Editing` for Windows and Linux
>
>
>
> `IntelliJ IDEA | Settings | Editor | Code Editing` 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)), `Ctrl+Alt+S` (NetBeans), `Ctrl+Alt+S` (Visual Studio), `⌘ Comma` (Visual Studio (macOS)), `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 the Code Editing page of the Settings dialog to configure the general code editing options.

| Item | Description |
| --- | --- |
|  Highlight on Caret Movement |
| Matched brace | Select this checkbox to have IntelliJ IDEA [highlight pairs of opening/closing braces](null) when you place the caret right before the opening or right after the closing one. It also works for  HTML and XML tags.  |
| Current scope | Select this checkbox to have IntelliJ IDEA highlight the available scope for the code typed in the current caret location.  |
| Usages of element at caret | Select this checkbox to have IntelliJ IDEA highlight all usages of the element at which the caret is currently positioned.  |
| Refactorings |
| Specify refactoring options |      * In the editor: select this option to enable the in-place refactoring mode for Java. In the in-place mode, you specify all or most of the information necessary for the refactoring just by typing it, right in the editor. All the affected code fragments are highlighted and change as you type. If appropriate, additional refactoring options are selected in corresponding option boxes. The in-place refactoring mode is available for the following refactorings: * [Extract Constant](extract-constant.html) * [Extract Field](extract-field.html) * [Extract Parameter](extract-parameter.html) * [Extract Method](extract-method.html) * [Extract Variable](extract-variable.html) * [Rename](rename-refactorings.html)    * In modal dialogs: select this option if you want to use the refactoring dialogs when you refactor code.    |
|  Preselect current symbol name for Rename refactoring  |     If this checkbox is selected, the old name of a symbol is selected in the editor or in the Rename dialog when the [Rename refactoring](rename-refactorings.html)   is invoked for that symbol.            If the checkbox is cleared, the symbol to be renamed is not selected.                    |
|  Show inline dialog for local variables  |  Select this checkbox if you want to display a confirmation dialog for the Inline local variable refactoring.  |
|  Error Highlighting  |
| Error stripe mark min height (pixels) | In this field, specify the minimum size of the error and warning stripes. |
| Autoreparse delay (ms) | In this field, specify the time period after which IntelliJ IDEA starts reparsing the entered text. |
| The 'Next Error' action goes through |      * The problems with the highest priority: select this option to have IntelliJ IDEA pass through the highest priority problems only (for example, errors), when executing Navigate \| Next/Previous Highlighted Error command `F2` (Windows), `F2` (macOS), `F2` (IntelliJ IDEA Classic (macOS)), `⌃ Comma` (macOS System Shortcuts), `F2` (XWin), `F2` (GNOME), `F2` (KDE), `F2` (Emacs), `F2` (Sublime Text), `F2` (Sublime Text (macOS)), `F2` (NetBeans), `Alt+Page Down` (Visual Studio), `⌥ Page ↓` (Visual Studio (macOS)), `F2` (Eclipse), `⌘ .` (Eclipse (macOS))/`Shift+F2` (Windows), `⇧ F2` (macOS), `⇧ F2` (IntelliJ IDEA Classic (macOS)), `⌃ ⇧ Comma` (macOS System Shortcuts), `Shift+F2` (XWin), `Shift+F2` (GNOME), `Shift+F2` (KDE), `Shift+F2` (Emacs), `Shift+F2` (Sublime Text), `Shift+F2` (Sublime Text (macOS)), `Shift+F2` (NetBeans), `Alt+Page Up` (Visual Studio), `⌥ Page ↑` (Visual Studio (macOS)), `Shift+F1` (Eclipse), `⌘ ⇧ .` (Eclipse (macOS)).    * All problems: select this option to have IntelliJ IDEA pass through all the existing problems (for example, errors and warnings) sequentially.    |
| Suppress with @SuppressWarnings (for 5.0 only) |    Select this checkbox to have `@SuppressWarnings` implemented as an annotation.      Clear this checkbox to have `@SuppressWarnings` implemented as a Javadoc comment.    |
|  Quick Documentation |
| Show quick documentation on hover | Select this checkbox to  [show quick documentation](viewing-reference-information.html#inline-quick-documentation)  for the symbol when you move the mouse pointer over it. The quick documentation popup appears after the delay time specified in the Tooltip delay field. |
| Editor Tooltips |
| Tooltip delay |     Use this option to specify the delay, with which all editor tooltips appear on mouse hover. Editor tooltips include:        * [Quick Documentation](null), which appears if the Show quick documentation on hover option is selected above on this settings page. You can press `Ctrl+Q` (Windows), `F1` (macOS), `⌃ J` (IntelliJ IDEA Classic (macOS)), `⌘ I` (macOS System Shortcuts), `Ctrl+Q` (XWin), `Ctrl+Q` (GNOME), `Ctrl+Q` (KDE), `Ctrl+Q` (Emacs), `Ctrl+Q` (Sublime Text), `Ctrl+Q` (Sublime Text (macOS)), `Ctrl+Q` (NetBeans), `Ctrl+K, I` (Visual Studio), `⌘ K, I` (Visual Studio (macOS)), `Alt+Middle-Click` (Eclipse), `⌥ Middle-Click` (Eclipse (macOS)) to invoke this tooltip with the keyboard.    * Error description, which appears on highlighted code issues if the [design-time code inspection](null) is enabled for the current file. You can press `Ctrl+F1` (Windows), `⌘ F1` (macOS), `⌘ F1` (IntelliJ IDEA Classic (macOS)), `⌘ F1` (macOS System Shortcuts), `Ctrl+F1` (XWin), `Ctrl+F1` (GNOME), `Ctrl+1` (KDE), `Ctrl+F1` (Emacs), `Ctrl+F1` (Sublime Text), `⌘ F1` (Sublime Text (macOS)), `Ctrl+F1` (NetBeans), `Ctrl+F1` (Visual Studio), `Ctrl+F1` (Visual Studio (macOS)), `Ctrl+F1` (Eclipse), `⌘ F1` (Eclipse (macOS)) to invoke this tooltip with the keyboard.      > **Tip:** > You can copy the full contents of the tooltip by `Alt` (Windows), `Alt` (macOS), `Alt` (IntelliJ IDEA Classic (macOS)), `Alt` (macOS System Shortcuts), `Alt` (XWin), `Alt` (GNOME), `Alt` (KDE), `Alt` (Emacs), `Alt` (Sublime Text), `Alt` (Sublime Text (macOS)), `Alt` (NetBeans), `Alt` (Visual Studio), `Alt` (Visual Studio (macOS)), `Alt` (Eclipse), `Alt` (Eclipse (macOS))-clicking it (`Ctrl+Alt` (Windows), `Ctrl+Alt` (macOS), `Ctrl+Alt` (IntelliJ IDEA Classic (macOS)), `Ctrl+Alt` (macOS System Shortcuts), `Ctrl+Alt` (XWin), `Ctrl+Alt` (GNOME), `Ctrl+Alt` (KDE), `Ctrl+Alt` (Emacs), `Ctrl+Alt` (Sublime Text), `Ctrl+Alt` (Sublime Text (macOS)), `Ctrl+Alt` (NetBeans), `Ctrl+Alt` (Visual Studio), `Ctrl+Alt` (Visual Studio (macOS)), `Ctrl+Alt` (Eclipse), `Ctrl+Alt` (Eclipse (macOS))-clicking it if you are on Linux).     |

