Skip to content

Opening file with source:line breaks Cmd+D "Add Next Occurance" #79460

Closed
@bbugh

Description

@bbugh
  • VSCode Version: 1.37.1
  • OS Version: Mac 10.12.6

Issue

Here's a weird one for you! This is 100% reproducible, and only appeared recently.

Whenever I open Visual Studio Code using line numbers (from iTerm2 shortcut or others), the Cmd+D shortcut key to select other instances doesn't work until the VSCode window loses and regains focus.

Does this issue occur when all extensions are disabled?: Yes

Steps to Reproduce:

Part 1

  1. Have iTerm2
  2. Cmd + Click on a file name
  3. Once VSCode opens, Cmd+D on some text that should have another match
  4. Notice that the "Selection" menu item at the top flashes as activated, but no new matching selections are selected

Part 2

  1. Click around in VSCode, in the same editor, other editors, etc.
  2. Press Cmd+D
  3. Notice that the "Selection" menu item at the top flashes as activated, but no new matching selections are selected

Part 3

  1. Cmd+Tab to another window
  2. Cmd+Tab back to VSCode
  3. Notice that the Cmd+D key shortcut is now working as expected.

Metadata

Metadata

Labels

*duplicateIssue identified as a duplicate of another issue(s)bugIssue identified by VS Code Team member as probable bugkeybindingsVS Code keybinding issuesmacosIssues with VS Code on MAC/OS X

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions