-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Preference: Remove plaintext completions for functions, and simplify snippet completions for functions #10
Comments
Maybe completion must be moved before plaintext one, but I rather keep them. There are some cases when snippets are not needed:
from datetime import datetime
if foo:
func = some_function
else:
func = some_other_function
Only required positional arguments are placed in snippet. This way you can skip type
;) |
OK, can we get the snippet variants above the non-snippet variants for functions then?
I understand that. It's just that it's actually more intuitive to use the signatureHelp for this. It refreshes once the user types a |
Check out
Well, Do you think using I think what you propose is not the snippet anymore. It's kind of |
From my experience using this LS for a while:
f(${1:a}, ${2:b})
into the buffer whenf($0)
is sufficient. It is sufficient because there's signature help.By the way I really like the named-argument completions
foo=
,bar=
, etc.The text was updated successfully, but these errors were encountered: