From b717e44eb2bbb51b61b656d4c976c45adcdf22e3 Mon Sep 17 00:00:00 2001 From: Ivan Grokhotkov Date: Wed, 7 Sep 2016 12:45:08 +0800 Subject: [PATCH] tools: add code formatter rules for Eclipse Generated with Eclipse Neon, should work in earlier versions as well. This file can be imported - into the workspace via Preferences > C++ > Code Style > Formatter > Import - or into the project via Project Preferences > C++ General > Formatter > Import Configuration options in Eclipse are not exactly the same as in astyle. There may be some discrepancy between the format astyle and Eclipse will produce. If anyone notices that, please let me know. --- tools/eclipse-code-style.xml | 167 +++++++++++++++++++++++++++++++++++ 1 file changed, 167 insertions(+) create mode 100644 tools/eclipse-code-style.xml diff --git a/tools/eclipse-code-style.xml b/tools/eclipse-code-style.xml new file mode 100644 index 000000000..f589a0080 --- /dev/null +++ b/tools/eclipse-code-style.xml @@ -0,0 +1,167 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +