You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Allow clearing the undo/redo stack of a custom editor on save #296528
There are cases of CustomEditorProvider implementations that do support using onDidChangeCustomDocument<CustomDocumentEditEvent>, but only up to a save point.
Currently, the emitted edit events are retained even after a save operation, but the editor itself might have lost (for good reasons) the state required to perform those retained undos/redos.
The only possible solution in such cases is to be able to tell VS Code to clear the undo/redo stack on save.
Activity
lppedd commentedon Feb 21, 2026
A more generalized approach might be even better, e.g., by offering a second event emitter.
dialogs: prevent custom dialogs from overflowing screen vertically
dialogs: prevent custom dialogs from overflowing screen vertically (m…
lppedd commentedon Mar 3, 2026
Connor Peet (@connor4312) you might have accidentally used the wrong ref with that commit.
lppedd commentedon Mar 19, 2026
Henning Dieterichs (@hediet) hey there! Just wondering if closing this issue was a mistake (as I can't see any reference to PRs/commits).
lppedd commentedon Mar 20, 2026
Matt Bierner (@mjbvz) would it be possible to reopen it in the meantime? I don't want it to be locked automatically.
lppedd commentedon Mar 30, 2026
Let me know if it can be reopened, or I'll create a fresh one in case.
Update main-os to latest upstream with OS customizations (#50)