-
Notifications
You must be signed in to change notification settings - Fork 29.3k
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
Some keyboard shortcuts stop working when launching from terminal #71553
Comments
@azdavis I cannot reproduce on my mac. I launch |
Hm. Was VSCode already running when you said I can reliably reproduce this on my Mac; I can try to attach a screen recording if that might help. |
@azdavis I could not reproduce even if the file does not exist. Have you by any chance customized your |
Thank you, I could now reproduce. |
I'm experiencing this problem when activating (an open instance of) VS Code via the URL scheme |
Can confirm this bug also occurs when using the "Semantic History" feature of iTerm2 Build 3.2.9 (Cmd+Click to open file). However, there is a workaround that seems to work 100% for me; just right-click inside the document to bring out the context menu, then close that menu, and the key shortcuts should work. |
I ran into this exact issue today when attempting and failing to use the ⌘D "add next occurrence" keyboard shortcut. Calling the function from the menubar did work, so it's specifically an issue with the shortcut. I didn't open vscode from iTerm though. I already had it open, and then I opened an existing workspace from the Open Recent menu. I also had an integrated terminal open, but I hadn't interacted with it. I used @Dreen's workaround to solve the issue. I haven't been able to reproduce yet.
|
This happens constantly if you use VSCode as an IDE for Unity 3D, every time you double to click a log to jump to the file/line in the code you can no longer use ⌘D until performing and canceling a find. It's nearly frustrating enough to switch IDEs if you use ⌘D a lot, if anyone could give this some attention that would be amazing. |
This issue appears to happen also if you close an editor pane and dismiss unsaved changes. Steps to reproduce:
|
Looks like this one shares the same root cause as #79460 |
@azdavis i |
I am still able to reproduce this issue, even on insiders. |
@alexandrudima I am able to reproduce #71553 (comment) and here is what I observe so far:
Now, here is what I do in the workbench after the dialog closes:
Can you please have a look as well. |
👍 I've pushed a fix for the |
Steps to Reproduce:
code file.txt
)What I did to "try to use Add Next Occurrence":
asdf
asdf
, it doesn'tA similar issue occurs with Copy Line Down. But the issue does not occur with Add Cursor Above or Add Cursor Below. I haven't tried other shortcuts.
The issues does not appear to happen if you skip step 1. But even if you skip step 1, it only doesn't happen for the first time.
What that means is: if VSCode is not running, and I launch it with
code file.txt
, then the shortcuts work infile.txt
. But if I then docode other.txt
, then the shortcuts do not work until I move the focus away and back as described.Actually, the filename
other.txt
doesn't even have to be different fromfile.txt
. So I can docode file.txt
and the shortcuts will work, but then I can docode file.txt
again and the shortcuts stop working.Does this issue occur when all extensions are disabled?: Yes
The text was updated successfully, but these errors were encountered: