# あなたの最初のプラグイン

## Eagle デスクトップアプリケーションの入手 <a href="#htif1" id="htif1"></a>

まず、Eagle デスクトップアプリケーションをインストールする必要があります。ここでインストーラーをダウンロードしてください：<https://eagle.cool/download>。Eagle デスクトップアプリケーションをすでにインストールしている場合は、最新バージョンに更新してください。より良いプラグイン開発体験を提供するために、多くの機能が追加されています。

***

## プラグインの作成 <a href="#u0omz" id="u0omz"></a>

1. ツールバーの 「プラグイン」 ボタンをクリックします。

   <figure><img src="/files/oV1dabLgtIziOQLvODL2" alt=""><figcaption></figcaption></figure>
2. ポップアップメニューで、「開発者オプション」 を選択します。

   <figure><img src="/files/qm4N4xHjfZk2jFrSj5BC" alt=""><figcaption></figcaption></figure>
3. 「プラグインを作成」 をクリックします。

   <figure><img src="/files/VbgbqRcKvt7OBuXUzRby" alt=""><figcaption></figcaption></figure>
4. 新しいウィンドウで、作成するプラグインのタイプ（ウィンドウ、バックグラウンドサービス、フォーマット拡張）を選択します。ここでは 「ウィンドウ」 タイプを選択します。

   <figure><img src="/files/7tGc1LtbQB3nZ1aio5ZF" alt=""><figcaption></figcaption></figure>
5. プラグインを保存する場所を選択し、作成を完了します。

異なるプラグインタイプの違いについて詳しく知りたい場合は、[この記事](/plugin-api/ja-jp/get-started/plugin-types.md)を参照してください。これらの情報は、どのプラグインタイプがあなたのニーズに適しているかを判断するのに役立ちます。

***

## サンプルプラグインの実行 <a href="#cpnwm" id="cpnwm"></a>

1. ツールバーの「プラグイン」ボタンをクリックします。
2. ポップアップメニューで、先ほど作成したプラグインを見つけてクリックします。
3. プラグインの基本属性が表示されているウィンドウが表示されます。

***

## コードエディタでプラグインディレクトリを開く <a href="#uclkm" id="uclkm"></a>

プラグインプロジェクトはすでに作成されています。これで、Visual Studio Code や他のコードエディタでこのフォルダを開くことができます。プラグインは複数のファイルで構成されているため、これらのファイルを同時に編集する必要があります。そのため、フォルダ全体を開くことが重要です。

次のセクションでは、プラグインファイル構造について詳しく説明します。

### &#x20;<a href="#vfkpl" id="vfkpl"></a>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://developer.eagle.cool/plugin-api/ja-jp/get-started/creating-your-first-plugin.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
