Skip to content
This repository was archived by the owner on Mar 12, 2020. It is now read-only.

Commit f2d1da2

Browse files
committed
Display completions for upper cased aliases
This commit fixes a bug when SQLTools did not show any completions when upper cased alias was used. Fixes #142
1 parent 072301e commit f2d1da2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SQLToolsAPI/Completion.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ def _singleDotCompletions(self, prefix, identifiers, joinAlias=None):
381381

382382
# we use set, as we are interested only in unique identifiers
383383
for ident in identifiers:
384-
if ident.has_alias() and ident.alias == prefixParent:
384+
if ident.has_alias() and ident.alias.lower() == prefixParent:
385385
if ident.is_query_alias:
386386
sqlQueryAliases.add(ident.alias)
387387

0 commit comments

Comments
 (0)