Enable "Only VCS change checkbox" if file has only deletion changes (IDEA-131975). It will allow to optimize imports through "reformat code dialog" on file having only deletion changes with no reformatting (Previously checkbox was disabled and optimize imports can only be used with whole file reformatting)
(cherry picked from commit da577a3)
Allow to reformat unversioned files if reformat code dialog is not shown and "process changed text" is on (IDEA-131937)
(cherry picked from commit 9fdc955)