CppStyle icon indicating copy to clipboard operation
CppStyle copied to clipboard

formatter not running when hitting Crtl+Shift+S or save all

Open gocarlos opened this issue 7 years ago • 1 comments

First of all thanks for the great extension.

To the issue: I've seen that with Eclipse Oxygen.1a the clang-formatter does not run after save if saving via "Save all".

By hitting Crtl + S or "Save" the file is formatted and saved as expected.

I think that the normal behavior would be to also format all files that are not saved when saving via "save all"

gocarlos avatar Feb 23 '18 15:02 gocarlos

Hi, we have the same issue. We would like to see that "save all" or ctrl+shift+s (save all) formats the files also, if we have chosen to "Run clang-format on file save".

Also, if we have checked "Save automatically before build" in our workspace settings, it doesn't format on those saves either.

I believe all 3 cases (save-all button, ctrl-shift-s and save before build) are the same problem, but they should all, in my opinion, format the files. They are all "save all" operations.

jmcarter17 avatar May 15 '19 20:05 jmcarter17