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