I've a CLion project that uses a code style defined by means of clang format. That code style is defined by someone else and it's completely opposite with respect to mine. Is it possible to have a local view of the code that makes the code to be formatted in the IDE according to my preferences, while keeping the original source files with the already provided style?
In other words:
- Repository has code style A (with respective .clang-format file)
- I clone the repoitory and I would like to see it inside the IDE with code style B
- I write my code with code style B
- I commit the code, and the new files (or the edited ones) on the repository still have code style A, despite being edited with code style B