Skip to content
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

"Selection -> Add next occurrence" shortcut not working when file opened from command line or URL scheme #73404

Closed
iliyang opened this issue May 7, 2019 · 1 comment
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s) macos Issues with VS Code on MAC/OS X

Comments

@iliyang
Copy link

iliyang commented May 7, 2019

  • VSCode Version: 1.33.1 (51b0b28)
  • OS Version: macOS Mojave 10.14.4 (18E226)

Steps to Reproduce:

  1. Open a file via open vscode://file/path/to/file or code -g /path/to/file
  2. Navigate to a word using the keyboard and press Cmd+D shortcut

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

Additional notes:
The command works when activated via the menu "Selection -> Add next occurrence", but the shortcut Cmd+D doesn't work. I can re-enable the shortcut by changing the focus to another application and then back to VS Code, or by activating the search function (via Cmd+F) and deactivating it.

One may think this is not a big deal. However, when writing scientific papers with LaTeX (using the excellent LaTeX Workshop extension), activating VS Code via the URL scheme is a very common task. This is done when navigating to the LaTeX source by clicking on the generated PDF file in the Skim viewer.

@vscodebot vscodebot bot added the editor-contrib Editor collection of extras label May 7, 2019
@alexdima
Copy link
Member

alexdima commented May 7, 2019

Duplicate of #71553

@alexdima alexdima marked this as a duplicate of #71553 May 7, 2019
@alexdima alexdima closed this as completed May 7, 2019
@alexdima alexdima added macos Issues with VS Code on MAC/OS X and removed editor-contrib Editor collection of extras labels May 7, 2019
@alexdima alexdima added the *duplicate Issue identified as a duplicate of another issue(s) label May 7, 2019
@vscodebot vscodebot bot locked and limited conversation to collaborators Jun 21, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s) macos Issues with VS Code on MAC/OS X
Projects
None yet
Development

No branches or pull requests

3 participants