question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Please 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:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:26 (11 by maintainers)

github_iconTop GitHub Comments

2reactions
Tyriarcommented, Jan 9, 2019

Provided the fix for https://github.com/Microsoft/vscode/issues/66214 works in tomorrow’s build, this issue is fixed for me.

2reactions
Tyriarcommented, Jan 8, 2019

everything you’re saying is consistent with what I was saying before. You see this line of code? A TextEdit is created to set the end of line. This is the blessed way that vscode wants extension developers to make these kinds of adjustments.

Thanks for the link and info, I think this is the underlying issue: https://github.com/Microsoft/vscode/issues/66214

Also, your GitHub says you’re on the vscode team? Are you working on the vscode side of this issue or is that someone else?

This isn’t my area but I’m trying to expedite getting it fixed so I can use the extension again 😛

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found