> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tablepro.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Editor Settings

> SQL editor font, size, line numbers, word wrap, indentation, and Vim mode configuration

# Editor Settings

Configure the SQL editor in **Settings** > **Editor**.

<Frame caption="Editor settings">
  <img className="block dark:hidden" src="https://mintlify.s3.us-west-1.amazonaws.com/ngquct/images/settings-editor.png" alt="Editor settings" />

  <img className="hidden dark:block" src="https://mintlify.s3.us-west-1.amazonaws.com/ngquct/images/settings-editor-dark.png" alt="Editor settings" />
</Frame>

## Font Settings

### Font Family

The font picker shows installed monospaced families on your Mac.

| Font            | Description                           |
| --------------- | ------------------------------------- |
| **System Mono** | macOS default monospace (recommended) |
| **SF Mono**     | San Francisco Mono                    |
| **Menlo**       | Classic macOS monospace               |
| **Monaco**      | Traditional Mac programming font      |
| **Courier New** | Cross-platform standard               |

Falls back to System Mono if a saved font is unavailable.

<Frame caption="Font family selector with available fonts">
  <img className="block dark:hidden" src="https://mintlify.s3.us-west-1.amazonaws.com/ngquct/images/editor-font-family.png" alt="Font family selector" />

  <img className="hidden dark:block" src="https://mintlify.s3.us-west-1.amazonaws.com/ngquct/images/editor-font-family-dark.png" alt="Font family selector" />
</Frame>

### Font Size

| Setting   | Range    | Default |
| --------- | -------- | ------- |
| Font Size | 11-18 pt | 13 pt   |

<Frame caption="Font size comparison">
  <img className="block dark:hidden" src="https://mintlify.s3.us-west-1.amazonaws.com/ngquct/images/font-size-comparison.png" alt="Font sizes" />

  <img className="hidden dark:block" src="https://mintlify.s3.us-west-1.amazonaws.com/ngquct/images/font-size-comparison-dark.png" alt="Font sizes" />
</Frame>

## Display Settings

### Line Numbers

| Option  | Description                 |
| ------- | --------------------------- |
| **On**  | Show line numbers (default) |
| **Off** | Hide for a minimal look     |

<Frame caption="Line numbers on/off">
  <img className="block dark:hidden" src="https://mintlify.s3.us-west-1.amazonaws.com/ngquct/images/line-numbers.png" alt="Line numbers" />

  <img className="hidden dark:block" src="https://mintlify.s3.us-west-1.amazonaws.com/ngquct/images/line-numbers-dark.png" alt="Line numbers" />
</Frame>

### Current Line Highlight

| Option  | Description                              |
| ------- | ---------------------------------------- |
| **On**  | Highlight the line with cursor (default) |
| **Off** | No highlight                             |

<Frame caption="Current line highlighting in the editor">
  <img className="block dark:hidden" src="https://mintlify.s3.us-west-1.amazonaws.com/ngquct/images/current-line-highlight.png" alt="Current line highlighting" />

  <img className="hidden dark:block" src="https://mintlify.s3.us-west-1.amazonaws.com/ngquct/images/current-line-highlight-dark.png" alt="Current line highlighting" />
</Frame>

### Word Wrap

| Option  | Description                              |
| ------- | ---------------------------------------- |
| **Off** | Long lines scroll horizontally (default) |
| **On**  | Long lines wrap to next line             |

<Frame caption="Word wrap: wrapped vs horizontal scrolling">
  <img className="block dark:hidden" src="https://mintlify.s3.us-west-1.amazonaws.com/ngquct/images/editor-word-wrap.png" alt="Word wrap comparison" />

  <img className="hidden dark:block" src="https://mintlify.s3.us-west-1.amazonaws.com/ngquct/images/editor-word-wrap-dark.png" alt="Word wrap comparison" />
</Frame>

## Indentation Settings

### Tab Width

| Setting   | Options     | Default |
| --------- | ----------- | ------- |
| Tab Width | 1-16 spaces | 4       |

<Frame caption="Tab width setting for indentation">
  <img className="block dark:hidden" src="https://mintlify.s3.us-west-1.amazonaws.com/ngquct/images/editor-tab-width.png" alt="Tab width setting" />

  <img className="hidden dark:block" src="https://mintlify.s3.us-west-1.amazonaws.com/ngquct/images/editor-tab-width-dark.png" alt="Tab width setting" />
</Frame>

## Editor Behavior

### Auto-Uppercase Keywords

| Option  | Description                                                    |
| ------- | -------------------------------------------------------------- |
| **Off** | Keywords stay as typed (default)                               |
| **On**  | SQL keywords auto-uppercase when you type a space or delimiter |

SQL keywords auto-uppercase on word boundaries. Keywords inside strings, comments, and quoted identifiers are unaffected.

### Query Parameters

| Option  | Description                                                        |
| ------- | ------------------------------------------------------------------ |
| **On**  | Detect `:name` placeholders and show the parameter panel (default) |
| **Off** | Send `:name` tokens to the database as-is                          |

When on, queries with `:name` placeholders show an inline panel for entering values. See [Query Parameters](/features/query-parameters) for details.

### Autocomplete

Autocomplete is always on. Dismiss with `Escape`. See [Autocomplete](/features/autocomplete) for details.

## JSON Viewer

| Setting      | Options    | Default |
| ------------ | ---------- | ------- |
| Default view | Text, Tree | Text    |

Pick which mode the JSON viewer starts in. You can switch anytime with the toggle in the viewer. Your last choice is remembered.

## Keyboard Shortcuts

| Action        | Shortcut       |
| ------------- | -------------- |
| Execute query | `Cmd+Enter`    |
| Undo          | `Cmd+Z`        |
| Redo          | `Cmd+Shift+Z`  |
| Find          | `Cmd+F`        |
| Replace       | `Cmd+Option+F` |
| Select All    | `Cmd+A`        |
| Go to Line    | `Cmd+G`        |
