# Editor

Here you can change the IDE settings.

<div align="left"><figure><img src="https://1379927860-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0dALM7uq5_eDYhSBjl-1972196547%2Fuploads%2Fgit-blob-ef76119ec17d72fb5554e1289a6fc18a662231c2%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure></div>

## Font

<div align="left"><img src="https://1379927860-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0dALM7uq5_eDYhSBjl-1972196547%2Fuploads%2Fgit-blob-41ebbecb0b0044f88fd46525af86e44122188de9%2Feditor-font-en.png?alt=media" alt=""></div>

Here you can choose the font and configure its display. Sanny Builder supports only [monospaced fonts](https://en.wikipedia.org/wiki/Monospaced_font). `AaBbCcDd` reflects selected configuration.

## Code Scan Distance

<div align="left"><img src="https://1379927860-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0dALM7uq5_eDYhSBjl-1972196547%2Fuploads%2Fgit-blob-d744aa3934d39cb8a38ade6cf74d27f005b73fcb%2Feditor-code-scan-en.png?alt=media" alt=""></div>

The code scanning range is used when you press `Ctrl+Space` to find [constants](https://docs.sannybuilder.com/language/data-types/constants), labels and [variables](https://docs.sannybuilder.com/language/data-types/variables). The value tells the editor how many lines to scan up and down starting from the active line. If you set a number of `0`, the editor scans the whole source file.

If the `Auto list` option is checked, the list of available labels, models and variables appears automatically as you type `@`, `$`, `#`.

## Editor Configuration

<div align="left"><img src="https://1379927860-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0dALM7uq5_eDYhSBjl-1972196547%2Fuploads%2Fgit-blob-47b69e0524e465dc65bbc2ab55ba632c0ec7bbd6%2Fsb-editor-configuration.PNG?alt=media" alt=""></div>

### Show Main Panel

Toggles the top toolbar

### Show Opcode Info

Displays [different information](https://docs.sannybuilder.com/features#displaying-information-about-opcode) in the bottom bar

### Line Numbers

Displays the line numbers in the left padding area

### Show Gutter Border

Toggles the border line on the right side of the left padding area. Uncheck this option to visually increase the available space

### Load Last Closed File at Startup

Enables reopening the last closed file at startup

### Load All Closed Files

Enables reopening all closed files at startup. This option is only available when the Load last closed file at startup is checked

### Confirm When Exit

Enables a confirmation dialog to prevent occasional exit

### Enable Language Service

Toggles the [language service](https://docs.sannybuilder.com/editor/language-service). Disabling this service also makes the semantic constants highlighting unavailable. Does not affect a document that is already opened in the editor

### Semantic Highlighting

Enables hIghlighting of constants as to their values. The color theme's rules for constant highlighting will be ignored.
