# 定義済みのコードスタイル

> For the complete documentation index, see [llms.txt](https://www.jetbrains.com/ja-jp/help/clion/llms.txt).

C/C++ および JavaScript の場合、定義済みスタイルからコードスタイル設定をコピーできます。 ただし、定義済みスタイルは特定の基本設定にのみ影響し、残りの設定は変更されないことに注意してください。

Procedure:

1. `設定 | エディター | コードスタイル`  に移動し、言語 (C/C++ または JavaScript) を選択します。

2. 右上隅にある   選択して設定   リンクをクリックします。

3. 設定をコピーするコードスタイルを選択します。

![定義済みのガイドラインからのコードスタイル設定の使用](https://resources.jetbrains.com/help/img/idea/2026.3/cl_codestyles_qsg.png)

C/C++:

* [Google(英語)](https://google.github.io/styleguide/cppguide.html)

* [LLVM(英語)](http://llvm.org/docs/CodingStandards.html)

* [LLDB(英語)](http://lldb.llvm.org/lldb-coding-conventions.html)

* [Qt(英語)](https://wiki.qt.io/Qt_Coding_Style)

* [GNU(英語)](https://en.wikipedia.org/wiki/GNU_coding_standards)

* [Microsoft](https://docs.microsoft.com/en-us/visualstudio/ide/editorconfig-code-style-settings-reference)

* [Stroustrup(英語)](https://www.stroustrup.com/bs_faq2.html#layout-style)

以下のスタイルは、波括弧配置にのみ適用されます。

* [オールマン波括弧 (英語)](https://en.wikipedia.org/wiki/Indent_style#Allman_style)

* [Whitesmiths 波括弧 (英語)](https://en.wikipedia.org/wiki/Indent_style#Whitesmiths_style)

* [K&amp;R 波括弧 (英語)](https://en.wikipedia.org/wiki/Indent_style#K.26R_style)

JavaScript:

* [JavaScript Standart スタイル (英語)](https://standardjs.com/)

* [Google JavaScript スタイルガイド (英語)](https://google.github.io/styleguide/jsguide.html)

