# 統合ツール​

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

> **TL;DR**
> `ファイル | 設定 | ツール | Python 統合ツール`  (Windows および Linux 用)
>
>
>
> `%instance% | 設定 | ツール | Python 統合ツール`  (macOS 用)
>
>
>
> `Ctrl+Alt+S` (Windows), `⌘ Comma` (macOS), `⌘ Comma` (IntelliJ IDEA Classic (macOS)), `⌘ Comma` (macOS System Shortcuts), `Ctrl+Alt+S` (XWin), `Ctrl+Alt+S` (GNOME), `Ctrl+Alt+S` (KDE), `Ctrl+Alt+S` (Emacs), `Ctrl+Alt+S` (Sublime Text), `⌘ Comma` (Sublime Text (macOS)), `⌘ Comma` (Xcode), `Ctrl+Alt+S` (Visual Studio), `⌘ Comma` (Visual Studio (macOS)), `Ctrl+Alt+S` (ReSharper), `⌘ Comma` (ReSharper (macOS)), `Ctrl+Alt+S` (QtCreator), `⌘ Comma` (QtCreator (macOS)), `Ctrl+Alt+S` (NetBeans), `Ctrl+Alt+S` (Eclipse), `⌘ Comma` (Eclipse (macOS)) ![](https://resources.jetbrains.com/help/img/idea/2026.3/app.expui.general.settings.svg)

このページを使用して、要件管理ファイル、デフォルトのテストランナー、ドキュメント文字列の処理を構成します。

|  項目  |  説明  |
| --- | --- |
|  デフォルトテストランナー  |  テストケースのコンテキストメニューで  `実行`  を選択するたびに、CLion が提案するテスト実行/デバッグ構成を選択します。    可能なオプションは次のとおりです：        * ユニットテスト    * pytest    * Nosetests    * Twisted Trial    |
|  Jupyter ノートブックのテスト検出  |  ユニットテスト検出の範囲に Jupyter Notebook ファイルを含める場合は、このチェックボックスをオンにします。  |
|  Docstring フォーマット  |  CLion に認識されるドキュメント文字列のフォーマットを選択します。    選択した docstring フォーマットに応じて、CLion はスタブドキュメントコメントを生成し、 [クイックドキュメント](viewing-inline-documentation.html)でテキストを表示します：        * Plain : 開始引用符の後に `Enter` (Windows), `⏎` (macOS), `⏎` (IntelliJ IDEA Classic (macOS)), `⏎` (macOS System Shortcuts), `Enter` (XWin), `Enter` (GNOME), `Enter` (KDE), `Enter` (Emacs), `Enter` (Sublime Text), `⏎` (Sublime Text (macOS)), `⏎` (Xcode), `Enter` (Visual Studio), `⏎` (Visual Studio (macOS)), `Enter` (ReSharper), `⏎` (ReSharper (macOS)), `Enter` (QtCreator), `⏎` (QtCreator (macOS)), `Enter` (NetBeans), `Enter` (Eclipse), `⏎` (Eclipse (macOS)) または Space を押すと、空のスタブが生成されます。クイックドキュメントはプレーンテキストとして表示されます。    * reStructuredText : 開始引用符の後に `Enter` (Windows), `⏎` (macOS), `⏎` (IntelliJ IDEA Classic (macOS)), `⏎` (macOS System Shortcuts), `Enter` (XWin), `Enter` (GNOME), `Enter` (KDE), `Enter` (Emacs), `Enter` (Sublime Text), `⏎` (Sublime Text (macOS)), `⏎` (Xcode), `Enter` (Visual Studio), `⏎` (Visual Studio (macOS)), `Enter` (ReSharper), `⏎` (ReSharper (macOS)), `Enter` (QtCreator), `⏎` (QtCreator (macOS)), `Enter` (NetBeans), `Enter` (Eclipse), `⏎` (Eclipse (macOS)) または Space を押すと、 [reStructuredText](http://docutils.sourceforge.net/rst.html) フォーマットに従ってスタブドックコメントが生成されます。クイックドキュメントは Docutils でレンダリングされます。    * NumPy : 開始引用符の後に `Enter` (Windows), `⏎` (macOS), `⏎` (IntelliJ IDEA Classic (macOS)), `⏎` (macOS System Shortcuts), `Enter` (XWin), `Enter` (GNOME), `Enter` (KDE), `Enter` (Emacs), `Enter` (Sublime Text), `⏎` (Sublime Text (macOS)), `⏎` (Xcode), `Enter` (Visual Studio), `⏎` (Visual Studio (macOS)), `Enter` (ReSharper), `⏎` (ReSharper (macOS)), `Enter` (QtCreator), `⏎` (QtCreator (macOS)), `Enter` (NetBeans), `Enter` (Eclipse), `⏎` (Eclipse (macOS)) または Space を押すと、 [NumPy](http://sphinxcontrib-napoleon.readthedocs.org/en/latest/example_numpy.html) フォーマットに従ってスタブドックコメントが生成されます。クイックドキュメントは [Napoleon](https://sphinxcontrib-napoleon.readthedocs.org/en/latest/) and Docutils でレンダリングされます。    * Google : 開始引用符の後に `Enter` (Windows), `⏎` (macOS), `⏎` (IntelliJ IDEA Classic (macOS)), `⏎` (macOS System Shortcuts), `Enter` (XWin), `Enter` (GNOME), `Enter` (KDE), `Enter` (Emacs), `Enter` (Sublime Text), `⏎` (Sublime Text (macOS)), `⏎` (Xcode), `Enter` (Visual Studio), `⏎` (Visual Studio (macOS)), `Enter` (ReSharper), `⏎` (ReSharper (macOS)), `Enter` (QtCreator), `⏎` (QtCreator (macOS)), `Enter` (NetBeans), `Enter` (Eclipse), `⏎` (Eclipse (macOS)) または Space を押すと、 [Google](http://sphinxcontrib-napoleon.readthedocs.org/en/latest/example_google.html) フォーマットに従ってスタブドックコメントが生成されます。クイックドキュメントは [Napoleon](https://sphinxcontrib-napoleon.readthedocs.org/en/latest/) and Docutils でレンダリングされます。      すべての種類のドキュメント文字列の機能：        * ドキュメント文字列の適切な生成    * インテンションアクションおよびクイックフィックスを適用した後の上へデート    * コーディング支援    * セクションヘッダーの自動補完     > **Note:** > ドキュメント文字列で提供される情報は、コード解析に使用されます。    |
|  docstrings の Python コードを分析する  |     このチェックボックスが選択されている場合、CLion はコード例をハイライトし、構文チェックおよびコードインスペクションを実行します。       このチェックボックスが選択されていない場合、docstring 内のコード箇所は分析されません。     |
|   `stdlib`  の外部ドキュメントをレンダリングします。  |  [http://docs.python.org](http://docs.python.org) の標準ライブラリ関数のドキュメントを  `表示 \| クイックドキュメント`  で表示できるように有効化します。  |
|  Sphinx 作業ディレクトリ  |      `.rst`  ファイルと  `conf.py`  設定を含むフォルダーへのパスを指定します。 CLion はこれを使用してカスタムロールを認識し、Sphinx ドキュメントの正確なハイライトおよびレンダリングを提供します。     |
|   `.txt`  ファイルを reStructuredText として扱う  |  このチェックボックスをオンにすると、拡張子が  `.txt`  のファイルは拡張子が  `.rst`  のファイルと同じようにハイライトされます。  |

## See also

### リファレンス

[スマートキー](settings-smart-keys.html) [実行 / デバッグ構成ダイアログ](run-debug-configurations-dialog.html)

### 外部リンク

[Python docstrings](http://www.python.org/dev/peps/pep-0257/) [Sphinx](https://www.sphinx-doc.org/en/master/index.html) [epydoc](http://epydoc.sourceforge.net/) [reStructuredText](http://docutils.sourceforge.net/rst.html) [Google](http://sphinxcontrib-napoleon.readthedocs.org/en/latest/example_google.html) [NumPy](http://sphinxcontrib-napoleon.readthedocs.org/en/latest/example_numpy.html) [Napoleon](https://sphinxcontrib-napoleon.readthedocs.org/en/latest/) [Defining custom roles in Sphinx](http://www.doughellmann.com/articles/how-tos/sphinx-custom-roles/index.html)

