SurrealQL editors

Throughout Surrealist you will encounter various SurrealQL editors. These editors support intelligent SurrealQL highlighting and provide a range of features to help you write queries and edit records.

Shortcuts

Editors support an array of useful shortcuts to help you navigate and edit more efficiently.

ShortcutsDescription
tab Indent the current line by 4 spaces.
shift + tab Unindent the current line by 4 spaces.
ctrl/cmd + f Open the search and replace panel
ctrl/cmd + / Toggles comments on the selected or active line(s)
ctrl/cmd + left click Place multiple cursors at the clicked locations
ctrl/cmd + shift + L Selects all occurrences of the currently selected text
ctrl/cmd + d Selects next occurrence of the currently selected text
ctrl/cmd + enter Execute the query query (only applied to the query editor)

Record inspection

Some editors support record inspection, which allows you to open a record in the Record inspector drawer by holding ctrl/cmd and left-clicking on a record id.

JSON

Some editors, such as the record editor and query responses, support falling back to a JSON representation. This can be configured in the Settings dialog under Appearance > Value formatting mode.