mirror of
https://github.com/davidhalter/jedi.git
synced 2026-11-17 00:10:43 +08:00
added a new option: dynamic_params_for_other_modules
This commit is contained in:
1 parent
74fe520597
commit
5021a6bee9
2 files changed
+3
No files matched your search
@@ -48,6 +48,7 @@ def get_directory_modules_for_name(mods, name):
|
||||
mod_paths.add(m.path)
|
||||
yield m
|
||||
|
||||
if settings.dynamic_params_for_other_modules:
|
||||
paths = set(settings.additional_dynamic_modules)
|
||||
for p in mod_paths:
|
||||
d = os.path.dirname(p)
|
||||
|
||||
@@ -27,6 +27,8 @@ dynamic_array_additions = True
|
||||
# A dynamic param completion, finds the callees of the function, which define
|
||||
# the params of a function.
|
||||
dynamic_params = True
|
||||
# Do the same for other modules.
|
||||
dynamic_params_for_other_modules = True
|
||||
|
||||
# Additional modules in which Jedi checks if statements are to be found. This
|
||||
# is practical for IDE's, that want to administrate their modules themselves.
|
||||
|
||||
Reference in new issue
Block a user