Skip to main content

Editor Settings

Configure the SQL editor in Settings > Editor.
Editor settings

Font Settings

Font Family

Available monospace fonts:
FontDescription
System MonomacOS default monospace (recommended)
SF MonoSan Francisco Mono
MenloClassic macOS monospace
MonacoTraditional Mac programming font
Courier NewCross-platform standard
System Mono automatically uses the best available system monospace font.
If a selected font isn’t available, TablePro falls back to System Mono.
Font family selector

Font Size

SettingRangeDefault
Font Size11-18 pt13 pt
Font sizes
Recommendations:
SizeBest For
11-12 ptSmall screens, seeing more code
13-14 ptStandard usage (default)
15-16 ptBetter readability
17-18 ptLarge screens, accessibility

Display Settings

Line Numbers

OptionDescription
OnShow line numbers (default)
OffHide for a minimal look
Line numbers

Current Line Highlight

OptionDescription
OnHighlight the line with cursor (default)
OffNo highlight
Current line highlighting

Word Wrap

OptionDescription
OffLong lines scroll horizontally (default)
OnLong lines wrap to next line
Word wrap comparison

Indentation Settings

Tab Width

SettingOptionsDefault
Tab Width1-16 spaces4
Common choices:
WidthUsage
2 spacesCompact, JavaScript-style
4 spacesStandard SQL formatting (recommended)
8 spacesTraditional Unix-style
Tab width setting

Auto Indent

OptionDescription
OnNew lines match previous indentation (default)
OffNew lines start at column 1
SELECT
    u.id,
    u.name,
    |  -- Cursor here, next line auto-indents
Auto-indent in editor

Editor Behavior

Autocomplete

Autocomplete is always on. Dismiss with Escape. See Autocomplete for details. All editor settings apply immediately. No restart required.

Keyboard Shortcuts

ActionShortcut
Execute queryCmd+Enter
UndoCmd+Z
RedoCmd+Shift+Z
FindCmd+F
ReplaceCmd+Option+F
Select AllCmd+A
Go to LineCmd+G