mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-09 07:14:48 +08:00
goto function added
This commit is contained in:
2
ftest.py
2
ftest.py
@@ -15,7 +15,7 @@ path = os.path.join(os.getcwd(), f_name)
|
||||
f = open(path)
|
||||
code = f.read()
|
||||
for i in range(1):
|
||||
completions = functions.complete(code, 180, 200, path)
|
||||
completions = functions.get_definitions(code, 180, 200, path)
|
||||
#completions = functions.complete(code, 42, 200, path)
|
||||
|
||||
print '\n', ', '.join(sorted(str(c) for c in completions))
|
||||
|
||||
Reference in New Issue
Block a user