visual-studio-2010resharperresharper-6.1

Any reason ReSharper will not work when viewing SQL files in Visual Studio 2010?


I have ReSharper 6.1 installed and I use it with Visual Studio 2010. ReSharper works perfectly fine, except when I open an .sql file.

When an SQL file is the active window my ReSharper shortcuts stop working. I don't mind if intellisense doesn't work with SQL, but even CTRL+T or CTRL+SHIFT+T (open file, open type) isn't working.

Makes switching between files a little bit more inconvenient.

Is there an option that is disabling ReSharper shortcuts in sql files?


Solution

  • Could it be that commands from a context other than Global or Text Editor take precedence when you open a SQL file?

    If you go to Tools > Options > Environment > Keyboard, there's a command called Data.SqlEditorResultsAsFile that is bound to Ctrl+Shift+T in Transact-SQL Editor context. Try removing this assignment - could this help control back to ReSharper's Go to Type that uses Ctrl+Shift+T in Global and Text Editor contexts?