Skip to content

Commit

Permalink
Merge pull request mtxr#145 from mtxr/bug/fix-lowercased-aliases-comp…
Browse files Browse the repository at this point in the history
…letions

Display completions for upper case aliases
  • Loading branch information
tkopets authored Oct 2, 2017
2 parents 072301e + f2d1da2 commit 8a49935
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SQLToolsAPI/Completion.py
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ def _singleDotCompletions(self, prefix, identifiers, joinAlias=None):

# we use set, as we are interested only in unique identifiers
for ident in identifiers:
if ident.has_alias() and ident.alias == prefixParent:
if ident.has_alias() and ident.alias.lower() == prefixParent:
if ident.is_query_alias:
sqlQueryAliases.add(ident.alias)

Expand Down

0 comments on commit 8a49935

Please sign in to comment.