akalongman / akalongman/sublimetext-codeformatter

Sublime Text Build 3126 with CodeFormatter

Open
#318 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
772
Forks
128
PR merge metrics
No merged PRs in 30d

Description

I've noticed what seems to be an issue with CodeFormatter on ST Build 3126 and the issue has to do with using Undo and Redo - either through the Edit Menu or by using CTRL+Z / CTRL+Y.

With CodeFormatter uninstalled or disabled:
If I make a bunch of code changes, and then undo some of them and save my file, after the save - my Redo list is still available and I can CTRL+Y to Redo my code changes to put them back in.

With CodeFormatter installed and enabled:
If I make a bunch of code changes, and then undo some of them and save my file, after the save - my Redo list is gone. I cannot CTRL+Y to Redo any of the previous code changes from the normal Undo/Redo list. It appears that when CodeFormatter saves a file, it's clearing out my Redo list.

I checked with some other developers who also have ST Build 3126 along with CodeFormatter and they are experiencing the same issue.

It would be nice if when saving with CodeFormatter active, that the Redo list would remain and not be cleared out.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.