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

Conflicting VS Code keybindings to search Ruby documentation #261

Open
Haltarys opened this issue Jan 8, 2023 · 1 comment
Open

Conflicting VS Code keybindings to search Ruby documentation #261

Haltarys opened this issue Jan 8, 2023 · 1 comment

Comments

@Haltarys
Copy link

Haltarys commented Jan 8, 2023

Describe the bug
I can't use the keyboard shortcut Ctrl+Shift+R to refactor my code because it is shadowed by this extension.

To Reproduce

  1. Install the extension.
  2. Open a text editor (with Ctrl+N for example)
  3. Press Ctrl+Shift+R. A text input appears at the top instead of showing the refactor pop-up.

Expected behavior
I should be able to use the extension AND the refactor keyboard shortcut.

Potential solution
Either change the keybinding to another combination altogether or add a when expression to restrict it to a context where it does not shadow any other keybindings.

Platform:

  • OS: Windows 10
  • vscode version: 1.74.2
  • extension version: 0.24.0
@castwide
Copy link
Owner

castwide commented Jan 8, 2023

Sigh. I originally chose that shortcut because it didn't have any native assignments. Now it has three. I'll see if there's a configuration that makes sense for it.

In the meantime, you can delete or reassign it in your preferences.

  1. Go to the keyboard shortcuts page ("Preferences: Open Keyboard Shortcuts" in the command palette)
  2. Search for "solargraph"
  3. Highlight the "Solargraph: Search Ruby Documentation" row and hit delete

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants