The following steps can be used to create a shortcut to reload the current local file, without having to close and reopen it. Note that any unsaved changes in the editor will be lost if a file is reloaded from its source.
The following steps can be used to assign the "File Reload
" main menu option to a keyboard shortcut such as "Ctrl+Shift+R".
- Select "
Tools | Customize | Customize Keyboard Shortcuts
" from the main menu.
- Click the "
Add
" button.
- Press a key (such as "Ctrl+Shift+R") or pick a key from the drop-down menu under the "
Shortcut Key
" field.
- Click the "
Menu command
" radio button.
- Select "MFileReload" from the drop-down list.
- Click the "
Add
" button.
- Click the "
OK
" button to close the "Shortcut Key
" dialog.
- Click the "
OK
" button to close the "Keyboard Shortcuts
" customization dialog.
Pressing "
Ctrl+Shift+R" (or the assigned keyboard shortcut) will now invoke the "
File Reload
" main menu option.