-
Notifications
You must be signed in to change notification settings - Fork 427
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
Improve completion #747
Improve completion #747
Conversation
@@ -250,6 +250,7 @@ class LiveEditor { | |||
|
|||
return this.__asyncIntellisenseRequest("completion", { | |||
hint: lineUntilCursor, | |||
editor_auto_completion: settings.editor_auto_completion, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I didn't find any way to detect if the completion was triggered with ctrl+space or requested automatically by the editor. So when auto popups are enabled we don't show the "No runtime" message, even on ctrl+space.
Sidnote: we could get more fancy and provide whole snippets for stuff like |
719e032
to
915ad15
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just two tiny suggestions and ship it!
Co-authored-by: José Valim <[email protected]>
This problem exists upstream in the Language Server for VSCode: elixir-lsp/elixir-ls#302 (comment) Could this fix be ported? |
@bcardarella I'm on VSCode vscode_do.mp4 |
@jonatanklosko that's so strange, I'm on the exact same VS Code and ElixirLS versions but not seeing the same result |
Closes #746.
Additionally I improved built-in macros like
def*
andimport
to insert space instead of parentheses on completion.isense.mp4