Feature request : allow to use a custom .clang-format

Discussion about CodeLite development process and patches
Folco
CodeLite Curious
Posts: 5
Joined: Sun Jun 01, 2014 4:19 pm
Genuine User: Yes
IDE Question: C++
Contact:

Feature request : allow to use a custom .clang-format

Post by Folco » Mon Dec 28, 2015 8:04 pm

Hi Eran,

Would it be possible to allow to use a .clang-format, as documented here : http://clang.llvm.org/docs/ClangFormat.html
It would throw a command like clang-format -i <specified .clang-format> *.?pp>, it could save and reload automagically the formatted files.

What do you think about that ? Thanks in advance.

Notes :
- I have tried to get that with the External Tools, but something fails in file reloading, IIRC. I could investigate again if you wish.
- I ask for such a feature because it's handy to have only one .clang-format for all its IDE and projects. And it's really easy to get with such a site

User avatar
eranif
CodeLite Plugin
Posts: 6110
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Feature request : allow to use a custom .clang-format

Post by eranif » Mon Dec 28, 2015 8:17 pm

Can you please make this an official feature request?
These kind of requests will get lost on the forum

Eran
Make sure you have read the HOW TO POST thread

Folco
CodeLite Curious
Posts: 5
Joined: Sun Jun 01, 2014 4:19 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Feature request : allow to use a custom .clang-format

Post by Folco » Mon Dec 28, 2015 8:43 pm

I used this page : http://codelite.org/contact.php
I was surprised to not find a feature request page on github :shock:

User avatar
eranif
CodeLite Plugin
Posts: 6110
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Feature request : allow to use a custom .clang-format

Post by eranif » Mon Dec 28, 2015 8:57 pm

Please use this link on GitHub:

https://github.com/eranif/codelite/issues/new

Eran
Make sure you have read the HOW TO POST thread

Post Reply