-
-
Notifications
You must be signed in to change notification settings - Fork 292
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
Overly eager autocomplete #3008
Comments
I thought it was more documented but indeed it's not clearly stated in the original PR. The way to disable this (in a way that persists between Pluto sessions for the same browser and port) is to open your browser developer console and execute the following: You can also check your current pluto browser cached options with That being said, as a comment to the issue at hand I also find the automatic autocomplete especially on |
Thanks for the feedback @mihrits ! Could you give some examples of cases where this happened during your normal work? The example |
For other people who see this issue and want to leave feedback, please record a video and open a new issue! (Instead of replying here) It is helpful for us if different specific autocomplete problems are addressed in different issues. |
During normal work, this happens when I define new variables or functions. For example, when I try to define |
Totally agree, it definitely feels overeager very often. Auto-accepting completions makes blind/muscle memory typing impossible. Thanks for the solution to turn it off! |
To me it also happens when I load new packages (since those seem to not be defined variables?), or when I want to broadcast Also as said before, defining any new variable has become a quite annoying. I like the more inactive variants, that edit: It would be nice to have this disabling somewhere in a menu and maybe even something saved in some preferences. To me the current default is very very very different to what I am used in VS Code and I get annoyed by this roughly every 30 seconds. |
I noticed the most annoying auto-complete-trigger by now is With the smallest typo, the autocomplete tries to guess anything maybe close to the typo, but usually far far off. That gets me very often and is (for me) super annoying. |
I have disabled most trigger characters in #3055 :) If you find more issues with autocomplete, please record a video of where you found the issue, and maybe a notebook file. Looking forward to hear more feedback! |
I'm looking forward to hear more feedback! I understand that some functionality has been frustrating, and I hope it didn't cause too much trouble. Why go through all this trouble? I think that autocomplete-on-type is a really valuable tool for new programmers, as it can help with:
I think Pluto is in a good position to offer good autocomplete because:
|
Thanks for reducing this a bit. It looks like is already no longer an autocomplete-trigger This is the most-annoying for me, since in any line defining a new value like
or defining a function with multiple returns
This would (still in my version currently) autocomplete to In general I feel, automatically doing this should be done super careful. I really like Julia 1.11-REPL on this with the grey proposals – but still requiring TAB to take it. But I might be an extreme case on that opinion probably and other might prefer more automation. |
@kellertuer the PR #3055 has not been released yet. Can you |
To avoid confusion, I will close this issue which is mostly about the auto commit characters Continued discussionFor more autocomplete feedback, please open a new issue and record a video. Try to be friendly and supportive! |
I can check when I find time for that, sure. |
I have noticed that Pluto has started to eagerly autocomplete things that I don't want to autocomplete. It seems that autocompletion is carried out by many different triggers; for example, I have found so far
,
,.
,(
,[
, in addition to<Tab>
. A recording of this behavior:Pluto_autocomplete.mov
This is really counterproductive; for example, when trying to write
x, y, z
, I have to press<Esc>
every time before entering a comma.There is a short discussion on Slack in the #pluto channel with a suggestion that this might stem from PR#2942 (I am using MacOS). This behavior is also mentioned in Discussion#3001. I was encouraged to open an issue, as this was bothering more people.
I would expect the autocomplete to be carried out with explicit
<Tab>
or when starting to choose autocomplete options with arrow keys and then<Tab>
or<Return>
.Information about my setup:
This behavior shows up in
[c3e4b0f8] Pluto v0.19.46
.The text was updated successfully, but these errors were encountered: