Help › Make Querlyn yours

Change settings

Open Settings, choose the theme, density and text sizes, and edit the settings file for the choices that have no button.

Querlyn 0.1.0 is not released yet. This help describes it ahead of release.

Querlyn's settings are in one tab, and in one text file that you can also edit yourself.

Open Settings

Choose Querlyn › Open Settings, or press ⌘, on macOS or Ctrl+, on Windows and Linux. Settings opens as a tab. A change takes effect at once and is saved at once; there is no Save button.

The tab's sections, in order:

SectionWhat is there
AccountSigning in, your license, this computer. See Your account and license.
SyncSync between your computers, a Preview, and the switch that turns the Preview on. See Sync your computers.
UpdatesWhether Querlyn checks for a new version by itself, and the channel. See Update Querlyn.
AppearanceTheme (light, dark or System, and which light and which dark theme), your own themes, density, interface text size. See Choose a theme.
KeyboardThe Keymap (Querlyn's own, DataGrip, VS Code or TablePlus) and problems with your shortcuts. See Change keyboard shortcuts.
EditorFont, editor text size, Vim mode, query parameters, how Format SQL writes.
SnippetsYour own snippets. See Insert snippets.
SafetyWhen Querlyn asks before running statements, Confirm with Touch ID, whether completion samples column values, the open-transaction reminder, lock and statement timeouts, migration lock warnings. See Change when Querlyn asks, Confirm with Touch ID and Lock waits and timeouts.
SSHAllow RSA keys. See Reach a database through SSH.
ToolsThe programs Querlyn uses for backups, tunnels, password managers, MongoDB scripts and notebooks' Python cells.

Most settings are also commands. Open the command palette (⇧⌘P on macOS or Ctrl+Shift+P on Windows and Linux) and type "Preferences" to list them.

Change how Querlyn looks

SettingChoices
ThemeLight, Dark, or System, which follows your computer's light or dark appearance. System is what Querlyn starts with. Under it, Light theme and Dark theme pick which themes those are; see Choose a theme.
DensityCompact (at the start) or Comfortable, which gives rows more room.
Interface text size11 to 16, 13 at the start. The size of text in the sidebar, the tabs, the bars and the dialogs.
Editor text size9 to 32, 13 at the start. The size of text in the SQL editor and in the cells of the results.

To change the editor's font, set editor.font_family in the settings file; see below. Settings shows the font in use.

Each of these is also a command, for the command palette or a shortcut of your own:

SettingCommands
ThemeCommand Palette › Preferences: Theme: Light, Command Palette › Preferences: Theme: Dark, Command Palette › Preferences: Theme: Follow System, Command Palette › Preferences: Choose Theme…
DensityCommand Palette › Preferences: Density: Compact, Command Palette › Preferences: Density: Comfortable
Interface text sizeCommand Palette › Preferences: Increase UI Text Size, Command Palette › Preferences: Decrease UI Text Size
Editor text sizeCommand Palette › Preferences: Increase Editor Text Size, Command Palette › Preferences: Decrease Editor Text Size

The caret in the editor blinks. To stop it, run Command Palette › Preferences: Toggle Cursor Blinking.

The width of the sidebar is changed by dragging its edge, and is remembered.

The settings file

Everything in Settings is stored in a text file named settings.toml. The bottom of the Settings tab shows where it is, after Settings file:. On macOS that is the folder ~/Library/Application Support/Querlyn.

A few choices can only be made in the file:

  • the editor's font,
  • your own keyboard shortcuts,
  • how many statements the statement console keeps,
  • how large a copy into the scratch may be.

A few others have no row in Settings but a command or a button: screen-share mode (the Screen Share button in the status bar), column profiles (View › Toggle Column Profiles) and keeping scratch tables (Command Palette › Preferences: Keep Scratch Tables Between Sessions).

To edit it:

  1. Quit Querlyn. It reads the file when it starts, and writes it whenever you change a setting, so an edit made while Querlyn runs can be overwritten.
  2. Open settings.toml in a text editor and change it. A file that does not exist yet can be created; a setting that is not in the file has its default value.
  3. Start Querlyn.
[appearance]
theme = "dark"

[editor]
font_family = "JetBrains Mono"
font_size = 14

Settings reference lists every setting the file can hold.

When the file has a mistake

  • A value Querlyn does not accept is corrected: a number outside its range becomes the nearest allowed number, and a choice that does not exist, such as theme = "blue", becomes the default. When Querlyn starts, a message at the bottom of the window says what was done: how many values were replaced by their defaults and how many numbers were limited to their range. Details beside the message names each setting; see Read a message in full.
  • A file that cannot be read at all, for example after a typing mistake that breaks its format, is left alone: Querlyn starts with the defaults, says so, and keeps a copy of your file next to it as settings.toml.corrupt, so that nothing you wrote is lost.
  • Settings Querlyn does not know, for example from a newer version, are kept in the file as they are.

Programs Querlyn uses

Under Tools, Settings lists the programs Querlyn starts for you, with the version and place of each one it found, or why it found none:

If a program is installed where Querlyn does not look, type its folder or path there. Find Tools Again looks again after you installed something. These paths belong to this computer and are never synced.

What follows you to another computer

Settings stay on this computer unless you turn on sync, a Preview. With sync, the density, the text sizes, the caret's blinking, Vim mode, the formatter's style, the keymap and when Querlyn asks before running follow you; the editor's font, Allow RSA keys, Confirm with Touch ID, sampling for completion, the safety times, the lock-warning settings and the paths under Tools never do.

Help for Querlyn 0.1.0. All help topics