You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/features/favorites.mdx
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,8 +24,9 @@ Save queries you run often. Organize them in folders, assign keyword shortcuts,
24
24
25
25
## Creating an SQL Favorite
26
26
27
-
Three ways to save a favorite:
27
+
Ways to save a favorite:
28
28
29
+
-**From the editor toolbar**: Click the star button above the editor, or press `Cmd+D`
29
30
-**From the editor**: Right-click selected SQL > **Save as Favorite**
30
31
-**From query history**: Right-click an entry > **Save as Favorite**
31
32
-**From the sidebar**: Click **+ New Favorite** in the Favorites tab
@@ -48,7 +49,7 @@ Enter a name, the SQL text, and optionally a keyword and scope.
48
49
49
50
## Keyword Expansion
50
51
51
-
Assign a unique keyword to a favorite (e.g., `selall`). Type the keyword in the editor and it appears as an autocomplete suggestion. Select it to insert the full SQL.
52
+
Assign a unique keyword to a favorite (e.g., `selall`). Start typing the keyword in the SQL editor and it shows up in the autocomplete popup as a starred suggestion with the favorite's name. Press Tab or Enter to insert the full SQL.
52
53
53
54
Keywords must be unique across all favorites in the same scope.
0 commit comments