Question

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?

Was it helpful?

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?

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top