You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using Copilot, users would like to be able to only partially accept suggestion instead of the whole suggestion at once.
The users demand either word by word or line by line completion.
Desired behaviour:
Press a predefined key and accept the whole suggestion.
Use a predefined combination of 2 keys to accept the top line of the suggestion. (eg: For a suggestion of 3 lines, the user would need to press the combination 3 times to accept the whole suggestion). The prompt would not show the line already accepted.
Reacted by godarren, Ella Frezynski, Quinn Conrad, Ravi Rajpurohit, Gregg Patton, Creed Naylor, Yitzi G, Jose Martinez, Mathias Torp, Yu Zhang and 76 more
SmallLemur this sounds to me like a UX problem. Is there a mock sketch for a potential solution here? Is there some other editor which already supports this?
We can also discuss it in one of our UX weekly meetings.
Isidor Nikolic (@isidorn) I don’t have a mock sketch. No other editors are supporting this yet but it is a requested features. I wanted to get the discussion going (doing the same for the other editors) to understand the constraints around it as well.
Reacted by Isidor Nikolic, Henning Dieterichs, Christian Philipp Singer and feketea
Technically, I think this would be rather easy to implement. I'd love to hear some more UX discussion before we implement this thought.
What key-binding do you have in mind?
SmallLemur do you have some UX designers on your team that would like to help here? Once we have some good ux proposal we can bring it in our UX weekly sync on Wednesday to start the discussion.
Fish shell allows word-by-word completion using the Alt + → key-combo, which—at least on macOS—is used system-wide for navigating text word-by-word. I notice that I keep trying to automatically use this key-combo, so big +1 from me.
(This should perhaps be a feature that would need to get generic support from VS code? Did not realise this is the vscode repo.)
Reacted by Michael Lawler, Isidor Nikolic, Ibis Prevedello, zephyr-f, Janphr, Shreya Chandra, Will Shaver, Sayak Mukhopadhyay, rtokun, Adam Burnett and 9 more
There is no reason why only one would be doable.
A line based completion is a couple of lines of code.
Word based completion is half a page if you want to do the word separation smart, or an abstract if it's dumb.
Reacted by Isidor Nikolic, Mathias Torp, loopinf, Yitzi G, Benjamin Muskalla, Max Fry, Ryan Kennedy, Evgeny Lukashevich, Serhiy-Shekhovtsov, Borja Garcia de Vinuesa and 2 more
Reacted by Max Fry, Borja Garcia de Vinuesa, giocic2, Ricardo Tavares, Abdallah Mansour and Rafid Muhymin Wafi
Activity
isidorn commentedon Jan 14, 2022
SmallLemur this sounds to me like a UX problem. Is there a mock sketch for a potential solution here? Is there some other editor which already supports this?
We can also discuss it in one of our UX weekly meetings.
SmallLemur commentedon Jan 14, 2022
Isidor Nikolic (@isidorn) I don’t have a mock sketch. No other editors are supporting this yet but it is a requested features. I wanted to get the discussion going (doing the same for the other editors) to understand the constraints around it as well.
hediet commentedon Jan 17, 2022
Technically, I think this would be rather easy to implement. I'd love to hear some more UX discussion before we implement this thought.
What key-binding do you have in mind?
isidorn commentedon Jan 17, 2022
SmallLemur do you have some UX designers on your team that would like to help here? Once we have some good ux proposal we can bring it in our UX weekly sync on Wednesday to start the discussion.
SmallLemur commentedon Jan 20, 2022
Isidor Nikolic (@isidorn) No I dont have a UX designer in my team. I ll see how i can come up with a suggestion and get back to you
YitziG commentedon May 18, 2022
This is similar to zsh-users/zsh-autosuggestions#265. Solution for me was 'CMD + ->' to accept a word at a time.
Something similar here would be great.
alloy commentedon Jun 16, 2022
Fish shell allows word-by-word completion using the Alt + → key-combo, which—at least on macOS—is used system-wide for navigating text word-by-word. I notice that I keep trying to automatically use this key-combo, so big +1 from me.
(
This should perhaps be a feature that would need to get generic support from VS code?Did not realise this is the vscode repo.)19 remaining items
VictorDuranEM commentedon Nov 14, 2022
It would be awesome to be able to do both, but if only one of the two is possible, then I would prefer word-by-word.
cmp-nct commentedon Nov 17, 2022
There is no reason why only one would be doable.
A line based completion is a couple of lines of code.
Word based completion is half a page if you want to do the word separation smart, or an abstract if it's dumb.
hediet commentedon Nov 22, 2022
First iteration has been implemented in #166956
Fixes #140708 by introducing Ctrl+Right/Left keybindings to accept/un…
Fixes #140708 by introducing Ctrl+Right/Left keybindings to accept/un…
Revert "Fixes #140708 by introducing Ctrl+Right/Left keybindings to a…
Merge pull request #171406 from microsoft/hediet/revert-inline-sugges…