MCPcopy Create free account
hub / github.com/fabioz/PyDev.Debugger / getCompletions

Method getCompletions

pydevconsole.py:102–110  ·  view source on GitHub ↗
(self, text, act_tok)

Source from the content-addressed store, hash-verified

100 return self.namespace
101
102 def getCompletions(self, text, act_tok):
103 try:
104 from _pydev_bundle._pydev_completer import Completer
105
106 completer = Completer(self.namespace, None)
107 return completer.complete(act_tok)
108 except:
109 pydev_log.exception()
110 return []
111
112 def close(self):
113 sys.exit(0)

Callers 5

get_completionsFunction · 0.45
test_console_requestsMethod · 0.45
testGetCompletions_1Method · 0.45
testGetCompletions_2Method · 0.45
testGetCompletions_3Method · 0.45

Calls 3

completeMethod · 0.95
CompleterClass · 0.90
exceptionMethod · 0.80

Tested by 4

test_console_requestsMethod · 0.36
testGetCompletions_1Method · 0.36
testGetCompletions_2Method · 0.36
testGetCompletions_3Method · 0.36