Saving files affects the file history
See original GitHub issuePlease fill-in this template.
- I have a question that is specific to this extension; thus, inappropriate for the main EditorConfig issue tracker.
- I tried running
code --disable-extensions
and the issue did NOT present itself.
Issue
Visual Studio Code | editorconfig-vscode | |
---|---|---|
Version | 1.50.1-1 |
v0.15.1 |
Root .editorconfig
File
root = true
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
indent_style = space
indent_size = 4
trim_trailing_whitespace = true
[*.md]
trim_trailing_whitespace = false
[*.yml]
indent_size = 2
Are there any other relevant .editorconfig
files in your project? Yes / No
Visual Studio Code Setting | Default | User | Workspace |
---|---|---|---|
editor.insertSpaces |
true |
____ |
____ |
editor.tabSize |
4 |
2 |
_ |
editor.trimAutoWhitespace |
true |
____ |
____ |
files.autoSave |
"off" |
"___" |
"___" |
files.insertFinalNewline |
false |
_____ |
_____ |
files.trimTrailingWhitespace |
false |
_____ |
_____ |
File opened
All files
Expected behavior
Only affect file history (undo/redo) when the file is actually changed.
Actual behavior
Each save, even if nothing is changed, adds an entry to the file history. So if i make a change, press CTRL+S then make another change, I have to press CTRL+Z 3 times to undo both changes. If I press CTRL+S 10 times I have to press CTRL+Z 12 times to undo both changes.
Additional comments or steps to reproduce
Issue Analytics
- State:
- Created 3 years ago
- Reactions:9
- Comments:11 (2 by maintainers)
Top Results From Across the Web
File History - Behavior for new or changed files when external ...
I'm running Windows 10, and recently started using File History. It seems to work fine using my external hard drive, including doing incremental ......
Read more >How to back up files with Windows 10's File History - PCWorld
Windows 10's File History is an easy way to get started with backing up your personal files since it comes built-in to your...
Read more >Thinking About Windows 10 File History - Thurrott.com
The new File History requieres a secondary storage and only saves previous versions of speficic folders, not the entire hard disk. I active ......
Read more >How exactly does File History work in Windows 10 and later?
So essentially Windows 10 File History is a glorified scheduled backup rather than version control on a file that changes.
Read more >Beginner's Guide: How to Use File History Windows 10
File History backs up files automatically and keeps a history of all your changes. Only to note that File History only backs up...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@jedmao Thanks works perfectly now.
Hi!
I can confirm that this is the case for me as well 😃.
Although, that parameter has been in my .editorconfig-file for quite some time now without those problems before.
Regards, Mikael