Repository navigation
add initial set of terminal completions for zsh, bash, and fish - #233776
Conversation
Co-authored-by: Daniel Imms <[email protected]>
|
vscode/src/vscode-dts/vscode.d.ts Lines 9019 to 9037 in cd7ce2e vscode/extensions/terminal-suggest/src/terminalSuggestMain.ts Lines 207 to 209 in cd7ce2e |
addressed
| if (!specName || !availableCommands.has(specName)) { | ||
| continue; | ||
| } | ||
| if (terminalContext.commandLine.startsWith(specName)) { |
There was a problem hiding this comment.
this condition means that the completion won't work if a user does command1 && command2 and command2 is code or code-insiders for example.
It will work if the spec is command1 though.
I think we can defer that.
Daniel Imms (Tyriar)
left a comment
There was a problem hiding this comment.
LGTM, hard to do a full review but it was fairly close before. Let's make this the new baseline 👍
|
Megan Rogge (@meganrogge) Daniel Imms (@Tyriar) I think it would have been great to either squash this as 1 commit or have good commit messages per commit that are descriptive. I myself tend to skip over writing any kind of commit message if I know that I am going to squash the PR, but when I plan to merge or rebase it, I try to be more descriptive to prevent our history looking like this: Is this something you could consider for the future? Thanks! |
|
Is there a way to undo this and squash all to one commit? That was what I had intended. |
|
Megan Rogge (@meganrogge) it's possible, but we shouldn't because it causes problems when people pull if they have pulled already. |
|
Turns out it was my fault since I disabled auto merge and re-enabled it 😅 |
|
Ah no worries, no need to rewrite history. Good you had the right intent 👍 |
|
And now it happened to me in #234847 🤔 . I had squash enabled, then disabled to change to a different name, set to squash again and then it got merged 🤯
Maybe a bug. |


fixes #233805
fixes #226562
TODOswith issues