-
Notifications
You must be signed in to change notification settings - Fork 29.5k
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
Implement "Suggestion Mode" from Visual Studio #139825
Comments
I’d like to add that from working in Neovim, I found it very intuitive to explicitly select and cycle through auto-completion suggestions with |
@macintacos does |
No, it is still selected |
I mean it's still selected but enter make a new line, so shouldn't that be good ? |
@haoadoresorange no. I still want "enter" to be how completion items are chosen after navigating to them in the list. I just don't want anything in the quick suggestion list selected until I navigate into the list. The ideal scenario that I personally am trying to have in VSCode is:
Hopefully that adds some clarity to this feature request. |
@macintacos I see, maybe add this to the original post above ? |
Sure, I've updated it. |
Isn't that exactly how Visual Studio (2019) works? At least that's what I remember from my VS days. My muscle memory tells me so. |
@user72356 VS and VSCode are two different programs. |
So what? You expect people not to compare feature sets when they know something that works better elsewhere? Especially another MS product. You even made a comparison with Neovim youself, so what is your point? |
My bad, I misunderstood it as you saying the current functionality is expected, especially since you have a random username. |
This actually started with #151336 |
Never thought I'd see the day - this seems to work pretty much exactly the way that I want it to, this is great! For those who can't be bothered to open that issue, the setting is:
It'll present as "disabled", but that appears to be on purpose. It still works. |
Actually... not quite. Thought it was working, but it doesn't seem to work the way I have selections set up with my keybindings. Currently, as stated in the description, I use
With |
Yeah, there is a new vscode/src/vs/editor/contrib/suggest/browser/suggestController.ts Lines 884 to 895 in 6e2ee35
|
@jrieken thanks! I'll look into that. Yeah I'll share what I come up with - I just noticed that it's because it wasn't working when only one item was shown in the suggestion list, because then technically the |
Okay yeah adding this seems to make things work the way I expect:
|
Worked for me, thanks! |
…not select a quick suggestion #139825
👋 Attention: for next Insiders (which will be released after the break, #168000) I have renamed the setting to Screen.Recording.2022-12-23.at.16.39.39.mov |
Closing - remaining work should be tackled as separate bugs or polish issues |
In Visual Studio, there is a mode called "Suggestion Mode" that is described here in MS's documentation. This functionality is more succinctly described in this blog post. Basically, I would like for suggestions to be shown, but none "selected" until I actually wish to use them.
This has been brought up in several issues (at the very least #85768, #67698, #33725). I wanted to open a new issue to have the VSCode potentially reconsider this, since after reading one of the VSCode bot's links, it appears that older issues are unsubscribed by the team - it would be great to have this implemented.
Editing with some minor clarifications I provided in my comment below:
The text was updated successfully, but these errors were encountered: