I’m starting to use Visual Studio (2010) after years with Eclipse.
Every now and then I’ve found Eclipse’s “Revert” feature pretty useful, that is, to reload the file from disk, discarding all changes. (Nothing to do with version control reverting.)
How can I do this with Visual Studio? Should be pretty simple but I haven’t found it yet.
I know that I can do this with “undo until *-indicator disappears” but that’s pretty impractical.
Practice As Follows
Unfortunately I do not know of a built-in way to do this in VS other than closing the file and reopening it without saving.
There might be some extension that does this, but I am not aware of it 🙁