sql-serverfocuskeyboard-shortcutsvisual-studio-2022sql-server-data-tools

SQL Server Object Explorer, set focus on table from Query


I have setup a connection to my local SQL Server, over the "SQL Server Object Explorer" in Visual Studio.

Is there a way, built in or maybe with an extension, for setting the focus to a table which I wrote a query for in query editor in Visual Studio?
Like in the solution explorer when I'm in a class, just for the SQL Server explorer, so that the focus will be set on the table

Maybe with a shortcut or somehow?


Solution

  • There doesn't appear to be an option to this, no (at at least not built in). I also have Redgate's SQL Toolbelt installed, which does provide this as a feature within SSMS, which can be reached using the right click dialogue pane or Ctrl+F12, however, in Visual Studio the option is not present in the right click dialogue pane, and Ctrl+F12 has no affect.

    There may be an alternative extension with this feature.