I was editing a file simultaneously in both Visual Studio & Notepad++ (I know, I know, it's a silly thing to do, I know). After saving changes made with Notepad++, how can I refresh Visual Studio to see those changes?
Asked
Active
Viewed 3.6k times
3 Answers
5
To refresh the change file automatically, we need to change a setting. Open Visual Studio, choose 'Tools' from menu bar Alt + T. Go to Options > Environment > Documents. Enable these two options
- Detect when file is changed outside the environment
- Reload modified files unless there are unsaved changes
The second choice is optional. Press OK. Restart Visual Studio if needed.
Biswapriyo
- 11,584
0
If for some reason the file doesn't automatically reload, you can close the tab and use one of these solutions to reopen it. This will refresh the file contents.
I bound Window > Restore Closed Tab to Ctrl + Shift + t, so I can close the tab and immediately reopen it quickly.
2br-2b
- 150
-1
My setting were correct, but it still wasn't working, it came down to:
Restart Visual Studio
Robert Brooker
- 109
- 3
