Editor Settings
Configure the SQL editor in Settings > Editor.
Font Settings
Font Family
Available monospace fonts:
| 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 |
System Mono automatically uses the best available system monospace font.
If a selected font isn’t available, TablePro falls back to System Mono.
Font Size
| Setting | Range | Default |
|---|
| Font Size | 11-18 pt | 13 pt |
Recommendations:
| Size | Best For |
|---|
| 11-12 pt | Small screens, seeing more code |
| 13-14 pt | Standard usage (default) |
| 15-16 pt | Better readability |
| 17-18 pt | Large screens, accessibility |
Display Settings
Line Numbers
| Option | Description |
|---|
| On | Show line numbers (default) |
| Off | Hide for a minimal look |
Current Line Highlight
| Option | Description |
|---|
| On | Highlight the line with cursor (default) |
| Off | No highlight |
Word Wrap
| Option | Description |
|---|
| Off | Long lines scroll horizontally (default) |
| On | Long lines wrap to next line |
Indentation Settings
Tab Width
| Setting | Options | Default |
|---|
| Tab Width | 1-16 spaces | 4 |
Common choices:
| Width | Usage |
|---|
| 2 spaces | Compact, JavaScript-style |
| 4 spaces | Standard SQL formatting (recommended) |
| 8 spaces | Traditional Unix-style |
Auto Indent
| Option | Description |
|---|
| On | New lines match previous indentation (default) |
| Off | New lines start at column 1 |
SELECT
u.id,
u.name,
| -- Cursor here, next line auto-indents
Editor Behavior
Autocomplete
Autocomplete is always on. Dismiss with Escape. See Autocomplete for details.
All editor settings apply immediately. No restart required.
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 |