diff --git a/customization/appearance.mdx b/customization/appearance.mdx index 05993262..70d4cae0 100644 --- a/customization/appearance.mdx +++ b/customization/appearance.mdx @@ -44,6 +44,8 @@ Custom themes get color wells here. A built-in or registry theme shows a lock an A slot holds either a hex color or the name of a macOS system color. Default Light and Default Dark keep the data grid surrounds on system colors, which is why an untouched theme follows your system accent and its Increase Contrast setting. Right-click a well that a built-in leaves on a system color to put that system color back. +A theme colors the panes that show database content. The sidebar, the toolbar, the tab strip and the window frame stay on the macOS appearance, which is what the **Appearance** control at the top of the tab sets: pick a dark theme and the window frame goes dark with it. + ## Theme files A theme is one JSON file. **Export…** in the gear menu writes every color the selected theme sets, which is the shortest way to start a new one; **Import…** in the **+** menu reads one back into `~/Library/Application Support/TablePro/Themes/`. Themes published to the [plugin registry](/features/plugins#themes) install from **Settings > Plugins > Browse**, Themes category. diff --git a/customization/editor-settings.mdx b/customization/editor-settings.mdx index 8896100e..22c49ab1 100644 --- a/customization/editor-settings.mdx +++ b/customization/editor-settings.mdx @@ -12,16 +12,35 @@ Editor fonts are per-theme. Edit them on the theme's Fonts tab under [Appearance Editor settings -## SQL editor +## Font + +| Setting | Default | Applies to | +|---------|---------|------------| +| Editor Font | System Mono, 13 pt | SQL editor, the JSON viewer's Text mode, and the DDL, trigger and import previews | + +The picker lists the monospaced families installed on your Mac, at 10 to 24 pt. `Cmd+=` and `Cmd+-` change the size over the same range. + +## Display | Setting | Default | Notes | |---------|---------|-------| | Show line numbers | On | | | Highlight current line | On | | | Highlight current statement | On | A faint band behind the statement the cursor is in. See [Statement markers](/features/sql-editor#statement-markers) | +| Show invisible characters | Off | See [Invisible characters](/features/sql-editor#invisible-characters) | | Word wrap | Off | Off means long lines scroll horizontally | + +## Gutter + +| Setting | Default | Notes | +|---------|---------|-------| | Code folding | On | Shows the fold ribbon in the gutter. See [Code Folding](/features/code-folding) | -| Run button beside each statement | On | Gutter run buttons, revealed when the pointer is over the gutter | +| Run button beside each statement | On | Gutter run buttons, revealed when the pointer is over the gutter. Needs line numbers on | + +## Editing + +| Setting | Default | Notes | +|---------|---------|-------| | Tab width | 4 spaces | 2, 4, or 8 | | Keyword case | Match what I type, otherwise UPPERCASE | The case completed keywords and functions take, and the case **Format SQL** produces. `UPPERCASE` and `lowercase` also rewrite keywords as you type them, leaving strings, comments and quoted identifiers untouched. See [Keyword case](/features/autocomplete#keyword-case) | | Query parameters (`:name` syntax) | On | Detects `:name` placeholders and shows the parameter panel. See [Query Parameters](/features/query-parameters) |