atom-ide-cpp icon indicating copy to clipboard operation
atom-ide-cpp copied to clipboard

Implement code formatting on save

Open AlexGustafsson opened this issue 6 years ago • 0 comments

It would be nice to have code formatting before saving (or at least the ability to format the code via a command). On macOS clang-format comes installed alongside clangd when installing llvm through brew. To my knowledge it does on Ubuntu (and I'm sure it does on other distributions) as well via the package clang.

I guess the plugin could decide to use a default style such as llvm or google if none is defined in a .clang-format file.

AlexGustafsson avatar Sep 05 '19 19:09 AlexGustafsson