How to Assign F5 Keyboard Key to Refresh Items in SSMS Object Explorer

In SQL Server Management Studio (SSMS) 2012, the global View.Refresh keyboard key (F5) was changed to Debug.Start by default.
When you try to refresh some object list using F5 keyboard key, for example the list of databases, or tables in Object Explorer, it opens debug instead of refreshing the list.
Here is how to change F5 keyboard key from debug to refresh:

In SQL Server Management Studio, go to:
Tools -> Options:

ssms_tools_options

Expand 'Environment' -> expand 'Keyboard' -> Click 'Keyboard' -> In the 'Show commands containing:' box enter Refresh to find View.Refresh command:

f5_key_refresh_show_commands

If the 'Shortcuts for selected command' field is empty, or has some other key than F5:

f5_key_refresh_shortcut_for_selected_command

...in 'Press shortcut keys' field press the F5 key on the keyboard:

f5_key_refresh_press_shortcut_key

You can see now for what command is the F5 shorcut currently used for:

f5_key_refresh_shortcut_currently_used_for

To assign the F5 shortcut to Viev.Refresh, click 'Assign':

f5_key_refresh_assign

Press 'OK' to confirm the change:

f5_key_refresh_assign_confirm

If the post helped you, please share it:
Pin It

7 comments to How to Assign F5 Keyboard Key to Refresh Items in SSMS Object Explorer

Leave a Reply

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">