Hi to all.
Im running clang format like this: clang-format-3.3 -i -style=file src/live_effects/lpe-fillet-chamfer.cpp
And return: Unknown style file, using Google style
seems not ok...
regards, Jabier.
Hello Jabier,
On Mon, Jun 30, 2014 at 2:17 PM, Jabiertxo Arraiza Cenoz < jabier.arraiza@...2893...> wrote:
clang-format-3.3 -i -style=file src/live_effects/lpe-fillet-chamfer.cpp
The Inkscape src directory already contains a .clang-format file, so all you need to do is:
$ clang-format src/live_effects/lpe-fillet-chamfer.cpp
Even if you are many levels deep in the src dir, clang-format finds the .clang-format file at the topmost dir.
Another useful option to know is:
$ clang-format -assume-filename=/home/samuel/code/lang/c++/.clang-format
in which you can put a .clang-format file anywhere you want, and you can call it whatever you want, assuming you alter the filename specified in the cmdline option accordingly.
Samuel
Thanks very much Samuel.
El lun, 30-06-2014 a las 18:04 +0530, Samuel Chase escribió:
Hello Jabier,
On Mon, Jun 30, 2014 at 2:17 PM, Jabiertxo Arraiza Cenoz < jabier.arraiza@...2893...> wrote:
clang-format-3.3 -i -style=file src/live_effects/lpe-fillet-chamfer.cpp
The Inkscape src directory already contains a .clang-format file, so all you need to do is:
$ clang-format src/live_effects/lpe-fillet-chamfer.cpp
Even if you are many levels deep in the src dir, clang-format finds the .clang-format file at the topmost dir.
Another useful option to know is:
$ clang-format -assume-filename=/home/samuel/code/lang/c++/.clang-format
in which you can put a .clang-format file anywhere you want, and you can call it whatever you want, assuming you alter the filename specified in the cmdline option accordingly.
Samuel
Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
participants (2)
-
Jabiertxo Arraiza Cenoz
-
Samuel Chase