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

Toggling line comment/indent line not working on keyboard #17106

Closed
c01nd01r opened this issue Dec 13, 2016 · 3 comments
Closed

Toggling line comment/indent line not working on keyboard #17106

c01nd01r opened this issue Dec 13, 2016 · 3 comments
Assignees
Labels
info-needed Issue requires more information from poster keyboard-layout Keyboard layout issues macos Issues with VS Code on MAC/OS X
Milestone

Comments

@c01nd01r
Copy link

  • VSCode Version: 1.7.2
  • OS Version: Mac OSX 10.11.1 (15B42)

Steps to Reproduce:

  1. Open editor and any file
  2. Try to comment line (cmd + /) or indent line (cmd + ] / cmd + [)

Similar to #17023

My keybindings.json is empty. It happens from time to time. It helps only reload window.
I recorded a screencast: https://youtu.be/JoJJdzwFDK0

@kieferrm kieferrm added the *duplicate Issue identified as a duplicate of another issue(s) label Dec 13, 2016
@kieferrm
Copy link
Member

Duplicate of #17023.

@alexdima
Copy link
Member

@c01nd01r What is your keyboard layout? Did you customize your keyboard layout in any way? Do you have any OS level software that you use to bind OS level shortcuts? Does this issue appear in relation to opening/closing other software? Does this issue appear in relation to switching keyboard layouts?

Next time you notice these keybindings not functioning, can you please digg deeper to find out what the problem is:

Is it a problem with the actions?

When you notice the keybindings not working, can you try pressing F1 and invoking the action from the F1 list? Does the action execute correctly?

Is it a problem with the keybindings?

When you notice the keybindings not working, can you open Preferences > Keyboard shortcuts and then clicking on the Define Keybinding box in the lower right. You can then press the keybinding you're having issues with in there. That widget will print the keybindings it receives from Chromium / the OS.

Here is a page describing how keybindings are handled in VS Code and various troubleshooting techniques -- https://github.com/Microsoft/vscode/wiki/Troubleshooting-Keybindings

@alexdima alexdima added info-needed Issue requires more information from poster and removed *duplicate Issue identified as a duplicate of another issue(s) labels Dec 14, 2016
@alexdima alexdima added this to the Backlog milestone Dec 14, 2016
@alexdima alexdima added the macos Issues with VS Code on MAC/OS X label Mar 23, 2017
@alexdima
Copy link
Member

Without further information about the exact keyboard layout used, I cannot validate, but simply assume that we now (i.e. after PR #22894 aka #17521 -- in tomorrow's Insiders build) behave correctly for this keyboard layout.

@alexdima alexdima modified the milestones: March 2017, Backlog Mar 23, 2017
@alexdima alexdima added the keyboard-layout Keyboard layout issues label Mar 23, 2017
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
info-needed Issue requires more information from poster keyboard-layout Keyboard layout issues macos Issues with VS Code on MAC/OS X
Projects
None yet
Development

No branches or pull requests

4 participants