Description
- VSCode Version: Version: 1.33.0-insider, Commit: 4039ea8
- OS Version: Darwin x64 18.5.0
Steps to Reproduce:
- Launch VSCode with no files
- Open a new file from a terminal (not VSCode's terminal; something like
code file.txt
) - Try to use Add Next Occurrence (see below); it doesn't work (the menu bar just 'flashes')
- Move the focus away from VSCode (e.g. click on some other app), then back
- Try to use Add Next Occurrence; it does work
What I did to "try to use Add Next Occurrence":
- Type
asdf
- Hit Command-D (the shortcut for Add Next Occurrence)
- Expect it to select
asdf
, it doesn't
A 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 in file.txt
. But if I then do code 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 from file.txt
. So I can do code file.txt
and the shortcuts will work, but then I can do code file.txt
again and the shortcuts stop working.
Does this issue occur when all extensions are disabled?: Yes