MCPcopy Create free account
hub / github.com/dbcli/mssql-cli / get_special_matches

Method get_special_matches

mssqlcli/mssqlcompleter.py:844–848  ·  view source on GitHub ↗
(self, _, word_before_cursor)

Source from the content-addressed store, hash-verified

842 yield Match(completion=c, priority=(0,))
843
844 def get_special_matches(self, _, word_before_cursor):
845 commands = special.main.COMMANDS
846 cmds = commands.keys()
847 cmds = [Candidate(cmd, 0, commands[cmd].description) for cmd in cmds]
848 return self.find_matches(word_before_cursor, cmds, mode='strict')
849
850 def get_datatype_matches(self, suggestion, word_before_cursor):
851 # suggest custom datatypes

Callers

nothing calls this directly

Calls 2

find_matchesMethod · 0.95
CandidateFunction · 0.85

Tested by

no test coverage detected