Closed kkew3 closed 5 years ago
Just found out the second problem has already been posted before: https://github.com/srusskih/SublimeJEDI/issues/273. I kind of understand why it happens, but it's still frustrating to see the "required" option not working. Thanks for checking.
The first problem seems related to https://github.com/srusskih/SublimeJEDI/issues/169. After I restarted ST it worked as expected.
thanks for reporting. will take a look as soon I would have time :(
yeap, it's duplicate to #273. I have created a wiki page with GIF to describe how it works - https://github.com/srusskih/SublimeJEDI/wiki/What-is-%22auto_complete_function_params%22
I set
auto_complete_function_params
to "required" as suggested by README. However, it behaves the same as "all", i.e. giving a full long list of parameters and keyword parameters. Setting it to "" stops jedi from suggesting the parameter list. However, for example, if I define a function:and if I continue to define a function
g
which functions the same aslambda x: f(x, 3)
(denoting caret position as_
):it will suggest a list containing
xxxxxxxx params
. If I select it, the last line ofg
definition becomes:with
xxxxxxxx
selected! If I continue type, 3)
(I would otherwise typereturn f(xxxxxxxx, 3)
if there were no auto-complete), the line will become:which is incorrect.
Thanks for checking.
Platform:
macOS Majove Version 10.14.3