MarinaKalashina created this revision. MarinaKalashina added reviewers: djasper, sylvestre.ledru, alexfh. Herald added subscribers: cfe-commits, jdoerfert. Herald added a project: clang.
This commit adds a chapter 'CLion integration' to ClangFormat.rst. The official announcement of clang-format support in CLion 2019.1: https://blog.jetbrains.com/clion/2019/03/clion-2019-1-embedded-dev-clangformat-memory-view/ Repository: rC Clang 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 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 =========================
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 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 =========================
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits