Skip to content
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

First edit of a file does not get recorded #14

Open
EricLendvai opened this issue Nov 8, 2022 · 3 comments
Open

First edit of a file does not get recorded #14

EricLendvai opened this issue Nov 8, 2022 · 3 comments

Comments

@EricLendvai
Copy link

I am using "files.autoSave": "onFocusChange", and after installing the extension, any file being edited the first time does not have its difference recorded.

FYI, your extension works in devcontainers! The timeline VSCode feature saves changes inside the devcontainer, which is lost when the container is rebuilt. Meaning the 15 million dev container extension users should also use yours!

@neriyaco
Copy link
Member

neriyaco commented Nov 8, 2022

Hi,
Are you working in a workspace?

Also, thank you! Your comment made me return to develop this extension.

@EricLendvai
Copy link
Author

Yes when I reported the problem I was using a workspace.
So I made a simple test, under Windows.
In a new folder from the command prompt I run the following

echo ThisIsATest >ThisIsATest.txt
code .

Then from withing VSCode I edit the ThisIsATest.txt
And when I check it in local-history the diff does not show a difference.
Hope this help, Eric

@neriyaco
Copy link
Member

Will check and update
Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants