-
Notifications
You must be signed in to change notification settings - Fork 30.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Provide a way to manually reload an opened file. #186976
Comments
Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.79.2. Please try upgrading to the latest version and checking whether this issue remains. Happy Coding! |
This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation. Happy Coding! |
What's expected difference with |
But, @IllusionMH, it would revert the file to a previous state, wouldn't it? Why else is it called "Revert File" if it's merely acquiring the state from the disk...? |
I was confused with name as first as well, "File: Revert editor state" would be better if command should contain word "Revert". AFAIK it's only reverts of editor's model state, e.g. noticeable when it's outdated (not all content of log file shown) or is dirty (changed something without saving). If you just read log file and didn't edit it - you would just see new lines shown in the editor, if you did some edits (dirty state) your unsaved changes will be dropped, and you'll see only content from disk. If I didn't miss something - this will be method called from editor service
|
If it does merely read from storage, only revert the current editor's in-memory changes, I suppose that this can be closed. However, it's hideously named. |
#17643 (comment)
was closed prematurely by
#17643 (comment)
Reverting is not reloading. I don't want to revert certain files, even temporarily. I want to reload them.
The text was updated successfully, but these errors were encountered: