Undo is broken
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.3.1 |
0.12.5 |
Root .editorconfig
File
; top-most EditorConfig file
root = true
[*]
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
charset = utf-8
indent_style = space
indent_size = 4
max_line_length = 120
[*.{js,jsx}]
quote_type = single
[{scripts/plato,scripts/deps}]
quote_type = single
[*.{json,html}]
quote_type = double
[{package.json,.babelrc,*.yaml}]
indent_size = 2
Are there any other relevant .editorconfig
files in your project? No
Visual Studio Code Setting | Default | User | Workspace |
---|---|---|---|
editor.insertSpaces |
true |
true |
true |
editor.tabSize |
4 |
4 |
4 |
editor.trimAutoWhitespace |
true |
true |
true |
files.autoSave |
"off" |
"off" |
"off" |
files.insertFinalNewline |
false |
false |
false |
files.trimTrailingWhitespace |
false |
false |
false |
File opened
Any file in the project
Expected behavior
Undo/Redo should work as expected
Actual behavior
After saving files Undo/Redo is broken. I need to press Cmd+Z multiple times to revert the previous change. It’s like if additional changes were added to the history.
Additional comments or steps to reproduce
After updating to vscode 1.3.0 I’m started seeing this issue. If I disable editorconfig extension everything starts to work as expected.
Possibly related issue https://github.com/Microsoft/vscode/issues/64987#issuecomment-447792094
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:26 (11 by maintainers)
Top Results From Across the Web
Undo is Broken - Image Line forum - FL Studio
Re: Undo is Broken No problem, it could be possible that pressing F12 fixes it too, it closes all UI of plugins.
Read more >Undo operation is completely broken in C# editor
After installing the new VS for Mac release this morning, all hell is breaking loose when undoing a change in the C# editor....
Read more >UNDO not working - Microsoft Community Hub
UNDO not working. Neither the undo soft button nor the undo arrows are lit. Does anyone know how to fix this issue?
Read more >Undo/Redo completely broken · Issue #107629 - GitHub
Issue Type: Bug. I was editing a single .md file, no other editor open, with a sequence of non-sequential edits, i.e. moving line...
Read more >undo is broken - Illustrator UserVoice
undo is broken. Undo is just wonky. I hit Undo, and rather than just stepping back one step, it jumps several actions backward,...
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
Provided the fix for https://github.com/Microsoft/vscode/issues/66214 works in tomorrow’s build, this issue is fixed for me.
Thanks for the link and info, I think this is the underlying issue: https://github.com/Microsoft/vscode/issues/66214
This isn’t my area but I’m trying to expedite getting it fixed so I can use the extension again 😛