al-code-outline icon indicating copy to clipboard operation
al-code-outline copied to clipboard

"Run Code Cleanup on Uncommitted Files" behaves weirdly

Open achim-t opened this issue 1 year ago • 2 comments

In the case when all changes are staged and I run the command "Run Code Cleanup on Uncommitted Files", the action is carried out for all files in the project, in particular for the committed ones.

achim-t avatar Mar 22 '24 12:03 achim-t

I second that. Just ran this command, expecting that it will run through uncommitted files, but it seems it ran on everything.

See the screenshot attached. See what files i have in staged area. After running command, all files popped up in Change area. My expectation was that it would go through staged files only.

image

gntpet avatar Sep 13 '24 11:09 gntpet

I noticed that too. If you stage your changes the cleanup will go over the whole project. If you don't stage your changes the cleanup will only go over your uncommited files.

Definitly needs some fixing. Even if the changes got staged the cleanup should go only over the uncommited files including the staged and unstaged changes.

DanielWemmerKuma avatar Dec 02 '24 13:12 DanielWemmerKuma