D24283: Add clang format file

David Edmundson noreply at phabricator.kde.org
Sat Sep 28 15:35:38 BST 2019


davidedmundson created this revision.
Herald added a project: Plasma.
Herald added a subscriber: plasma-devel.
davidedmundson requested review of this revision.

REVISION SUMMARY
  Kate have just clang-formatted all their code, a few
  other proejcts have too (see T11214 <https://phabricator.kde.org/T11214>). I think we can move 
  forward.
  
  We need to bikeshed on the exact formatting.
  
  We had a version proposed, but being similar to Kate makes
  sense too.
  
  This is the same file as Kate without the column limit 
  and with sorted includes which KWin people wanted.
  
  If I upload a big diff to phab to see the result the web UI
  will have a meltdown.
  
  Instead download this patch (for any repo) and run
  find . -name \*.h -print -o -name \*.cpp -print | xargs clang-format -i

REPOSITORY
  R120 Plasma Workspace

BRANCH
  clang_format

REVISION DETAIL
  https://phabricator.kde.org/D24283

AFFECTED FILES
  .clang-format

To: davidedmundson
Cc: plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, fbampaloukas, GB_2, ragreen, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20190928/672f5862/attachment.html>


More information about the Plasma-devel mailing list