forked from VimPlug/jedi
introduced a dynamic completion for params
This commit is contained in:
14
test/completion/dynamic.py
Normal file
14
test/completion/dynamic.py
Normal file
@@ -0,0 +1,14 @@
|
||||
"""
|
||||
This is used for dynamic object completion.
|
||||
Jedi tries to guess the types with a backtracking approach.
|
||||
"""
|
||||
def func(a):
|
||||
#? int() str()
|
||||
return a
|
||||
|
||||
#? int()
|
||||
func(1)
|
||||
|
||||
func
|
||||
|
||||
int(1) + (int(2))+ func('')
|
||||
Reference in New Issue
Block a user