We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
getTagCompletions
1 parent bcbd986 commit 368e754Copy full SHA for 368e754
server/src/server.ts
@@ -758,18 +758,14 @@ function getTagCompletions(): CompletionItem[] {
758
}
759
760
function getWhereClauseCompletions(): CompletionItem[] {
761
- const completions: CompletionItem[] = [];
762
-
763
- completions.push({
+ return [{
764
label: ". identifier = expression",
765
kind: CompletionItemKind.Snippet,
766
detail: "Where clause",
767
documentation: "Define a variable in a where clause",
768
insertText: ". ${1:identifier} = ${2:expression}",
769
insertTextFormat: InsertTextFormat.Snippet,
770
- });
771
772
- return [...completions, ...getGlobalCompletions()];
+ }, ...getGlobalCompletions()];
773
774
775
function getPatternMatchCompletions(): CompletionItem[] {
0 commit comments