[PATCH] D60115: Adding 'CLion integration' to clang-format doc

Phabricator via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 3 01:55:00 PDT 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rC357566: Adding 'CLion integration' to clang-format doc (authored by sylvestre, committed by ).

Repository:
  rC Clang

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D60115/new/

https://reviews.llvm.org/D60115

Files:
  docs/ClangFormat.rst


Index: docs/ClangFormat.rst
===================================================================
--- docs/ClangFormat.rst
+++ docs/ClangFormat.rst
@@ -165,6 +165,19 @@
 shortcut in the BBEdit preferences, under Menus & Shortcuts.
 
 
+CLion Integration
+==================
+
+:program:`clang-format` is integrated into `CLion <https://www.jetbrains
+.com/clion/>`_ as an alternative code formatter. It is disabled by default and
+can be turned on in Settings/Preferences | Editor | Code Style.
+
+If :program:`clang-format` support is enabled, CLion detects config files when
+opening a project and suggests overriding the current IDE settings. Code style
+rules from the ``.clang-format`` files are then applied automatically to all
+editor actions, including auto-completion, code generation, and refactorings.
+
+
 Visual Studio Integration
 =========================
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D60115.193447.patch
Type: text/x-patch
Size: 872 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190403/2f299d00/attachment.bin>


More information about the cfe-commits mailing list