1

I am using a fresh install of VS2022 (17.8.6) and ReSharper (2023.3.3). When editing a source file, the keyboard shortcut Ctrl + [, S does not behave as expected according to the docs. It should select the file currently being edited in the Solution Explorer. On my machine, all the command does is type a single 's' character into the editor.

Looking in Tools | Options... | Keyboard the shortcut is correctly bound to command SolutionExplorer.SyncWithActiveDocument.

I have also seen this problem in multiple previous versions of VS and ReSharper.

1 Answer 1

2

The problem is as follows, according to a JetBrains issue. ReSharper installs a new keyboard shortcut for Ctrl + [ which is bound to command ReSharper.ReSharper_GotoContainingDeclaration. This gets in the way of the two-part shortcut Ctrl + [, S so it is never executed.

Solution:

  1. Go to Tools | Options... | Keyboard.
  2. Search for 'ReSharper_GotoContainingDeclaration'.
  3. Remove or replace its keyboard shortcut.
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.