# 複製範例外掛程式

### 複製現有的 FormIt 外掛程式儲存庫

您可以從 FormIt 團隊複製各種外掛程式儲存庫。這些外掛程式示範不同的使用者介面類型，以及一些可透過外掛程式實現的進階功能。

每個外掛程式都儲存在自己的儲存庫中。您可以在以下位置找到它們：[FormIt3D 組織儲存庫](https://github.com/FormIt3D)

### GitHub Desktop

[GitHub Desktop](https://desktop.github.com) 提供易於使用的介面，可複製儲存庫、查看檔案變更，以及在本端電腦與線上儲存庫之間推送/拉回變更。GitHub Desktop 提供的一些功能包括：

* 建立新儲存庫以在 GitHub 上裝載您的外掛程式。
* 使用 GitHub Desktop 將您新的 (空的) GitHub 儲存庫複製到您的本端電腦。
* 在本端將新檔案加入儲存庫資料夾，以開發您的外掛程式。
* 使用 GitHub Desktop 將外掛程式檔案和目錄推送到您的儲存庫。
* 在您的儲存庫中啟用 GitHub 頁面，以便 FormIt 可以載入和顯示您的 GitHub 裝載的外掛程式。

### 使用 GitHub Desktop 複製範例外掛程式儲存庫

在 GitHub 中，選擇您要複製或修改的外掛程式專案。按一下 **「Code」** 按鈕，然後從下拉式清單中複製地址。

![](/files/UkEYB8iX0WA3oYxxV6VU)

開啟 GitHub Desktop 應用程式，按一下 **「Current Repository」**，然後選擇 **「Clone Repository」**。

![](/files/3J1wDHtrajGyin96LJ5D)

選取 **「URL」** 頁籤，將複製的連結貼到第一個欄位，然後在電腦上選擇本端資料夾路徑以儲存這些檔案。按一下 **「Clone」**。

![](/files/fh9Ys7JJagy0idbdvVA4)

### 在 Visual Studio Code 中開啟您的專案

啟動 Visual Studio Code。移至 **「檔案」**>**「開啟資料夾」**，然後選取包含外掛程式檔案和資料夾的資料夾，例如 C:\Users\Documents\GenerateStringLights\v22\_0


---

# 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://windows.help.formit.autodesk.com/zh-tw/plugins/how-to-develop-plugins/advanced-development/cloning-a-sample-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.
