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 ff469a1 commit 4e85ca9Copy full SHA for 4e85ca9
server/src/server.ts
@@ -757,18 +757,14 @@ function getTagCompletions(): CompletionItem[] {
757
}
758
759
function getWhereClauseCompletions(): CompletionItem[] {
760
- const completions: CompletionItem[] = [];
761
-
762
- completions.push({
+ return [{
763
label: ". identifier = expression",
764
kind: CompletionItemKind.Snippet,
765
detail: "Where clause",
766
documentation: "Define a variable in a where clause",
767
insertText: ". ${1:identifier} = ${2:expression}",
768
insertTextFormat: InsertTextFormat.Snippet,
769
- });
770
771
- return [...completions, ...getGlobalCompletions()];
+ }, ...getGlobalCompletions()];
772
773
774
function getPatternMatchCompletions(): CompletionItem[] {
0 commit comments