# Perforce

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

Procedure: Perforce プラグインを有効化する

この機能は、デフォルトで CLion にバンドルされて有効化されている [Perforce](https://plugins.jetbrains.com/plugin/69-perforce-p4-helix-core-)プラグインに依存しています。 関連機能が利用できない場合は、プラグインを無効化していないことを確認してください。

1. `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)) を押して設定を開き、  `プラグイン`  を選択します。

2. Perforce  プラグインを見つけて、   有効化  をクリックします。

## 始める前に

Procedure:

1. [Perforce 公式サイト(英語)](https://www.perforce.com/downloads)の説明に従って、Perforce クライアントをインストールします。

2. Perforce ディポを使用してアカウントを作成します。

## CLion の Perforce で開始

Procedure:

1. Perforce クライアントを使用してクライアントスペックを作成します。

2. Perforce クライアントを使用して Perforce ディポからソースファイルを入手してください。

3. ローカル作業コピーがコンピューター上にあるとすぐに、 [ローカルディレクトリを Perforce に関連付けます](enabling-version-control.html)。

その後、編集用にソースファイルを開き、CLion を使用して通常の Perforce 関連タスクを実行できるようになります。

## Perforce サポート

* When Perforce integration with CLion is enabled, the `Perforce` option appears in the `VCS` menu, and in the context menus of the editor and プロジェクト tool window ( `Alt+1` (Windows), `⌘ 1` (macOS), `⌘ 1` (IntelliJ IDEA Classic (macOS)), `⌘ 1` (macOS System Shortcuts), `Alt+1` (XWin), `Alt+1` (GNOME), `Alt+1` (KDE), `Alt+1` (Emacs), `Alt+1` (Sublime Text), `⌘ 1` (Sublime Text (macOS)), `⌘ 1` (Xcode), `Ctrl+Alt+L` (Visual Studio), `⌘ ⌥ L` (Visual Studio (macOS)), `Alt+1` (ReSharper), `⌘ 1` (ReSharper (macOS)), `Alt+X` (QtCreator), `⌃ X` (QtCreator (macOS)), `Ctrl+1` (NetBeans), `Alt+1` (Eclipse), `Alt+1` (Eclipse (macOS))) .

* Perforce にあるフォルダー内のファイルは、その状態に応じてハイライトされます。 ファイルステータスのハイライト規則については、 [ファイルの状態を確認する](adding-files-to-version-control.html#file_status) を参照してください。

* 変更の結果は、 コミット ツールウィンドウ（ `Alt+0` (Windows), `⌘ 0` (macOS), `⌘ 0` (IntelliJ IDEA Classic (macOS)), `⌘ 0` (macOS System Shortcuts), `Alt+0` (XWin), `Alt+0` (GNOME), `Alt+0` (KDE), `Alt+0` (Emacs), `Alt+0` (Sublime Text), `⌘ 0` (Sublime Text (macOS)), `⌘ 0` (Xcode), `Alt+0` (Visual Studio), `Alt+0` (Visual Studio (macOS)), `Alt+0` (ReSharper), `Alt+0` (ReSharper (macOS)), `Alt+0` (QtCreator), `⌘ 0` (QtCreator (macOS)), `Alt+0` (NetBeans), `Alt+0` (Eclipse), `⌘ 0` (Eclipse (macOS)) ）に表示されます。

* Perforce 統合を使用する場合、次のデータを表示する Perforce ツールウィンドウ `Alt+9` (Windows), `⌘ 9` (macOS), `⌘ 9` (IntelliJ IDEA Classic (macOS)), `⌘ 9` (macOS System Shortcuts), `Alt+9` (XWin), `Alt+9` (GNOME), `Alt+9` (KDE), `Alt+9` (Emacs), `Alt+9` (Sublime Text), `⌘ 9` (Sublime Text (macOS)), `⌘ 2` (Xcode), `Alt+9` (Visual Studio), `⌘ 9` (Visual Studio (macOS)), `Alt+9` (ReSharper), `⌘ 9` (ReSharper (macOS)), `Alt+9` (QtCreator), `⌘ 9` (QtCreator (macOS)), `Alt+9` (NetBeans), `Alt+9` (Eclipse), `⌘ 9` (Eclipse (macOS)) のコンソールタブを開くと役立ちます。 * CLion ユーザーインターフェースで指定した設定に基づいて生成するすべてのコマンド。 * 生成された Perforce コマンドの実行結果に関する情報メッセージ。 * エラーメッセージ。

## See also

### リファレンス

[Perforce のオプションダイアログ](perforce-options-dialog.html)

### 外部リンク

[http://www.perforce.com/perforce/doc.073/manuals/p4guide/index.html](http://www.perforce.com/perforce/doc.073/manuals/p4guide/index.html)

