File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010```
1111請幫我設置 GitHub Copilot 教學專案環境:
1212
13- 1. 克隆專案(包含 submodule):
13+ 1. 首先檢查目前位置並決定克隆位置:
14+ - 如果在 VS Code 中已有開啟的專案,請詢問我是否要在當前目錄的父目錄克隆
15+ - 如果沒有開啟專案,請詢問我想要克隆到哪個目錄
16+ - 建議的位置:~/projects/ 或 ~/Documents/GitHub/
17+
18+ 2. 克隆專案(包含 submodule):
19+ cd [選定的目錄]
1420 git clone --recursive https://github.com/yulin0629/github-copilot-tutorial.git
1521 cd github-copilot-tutorial
1622
17- 2 . 如果場景 8 的 submodule 沒有正確下載,請執行:
23+ 3 . 如果場景 8 的 submodule 沒有正確下載,請執行:
1824 git submodule update --init --recursive
1925
20- 3 . 檢查專案結構是否完整(應有 8 個場景資料夾):
26+ 4 . 檢查專案結構是否完整(應有 8 個場景資料夾):
2127 - 01-first-experience/
2228 - 02-code-explanation/
2329 - 03-function-generation/
2733 - 07-documentation/
2834 - 08-comprehensive-project/ (這是 git submodule)
2935
30- 4 . 在 VS Code 中開啟專案:
36+ 5 . 在 VS Code 中開啟專案:
3137 code .
3238
33- 5 . 確認已安裝必要的 VS Code 擴充套件:
39+ 6 . 確認已安裝必要的 VS Code 擴充套件:
3440 - GitHub Copilot
3541 - GitHub Copilot Chat
42+ 如果未安裝,請協助安裝
3643
37- 6. 設定 VS Code 的 Copilot 語言為繁體中文:
38- 在 settings.json 中加入:
39- "github.copilot.chat.localeOverride": "zh-TW"
44+ 7. 檢查並設定 VS Code 的 Copilot 語言為繁體中文:
45+ 檢查 settings.json 是否已有設定
46+ 如果沒有,加入: "github.copilot.chat.localeOverride": "zh-TW"
4047
41- 完成後請告訴我設置狀態,並開啟 index.html 預覽教學內容。
48+ 完成後請:
49+ - 告訴我設置狀態
50+ - 直接開啟 index.html 預覽教學內容
51+ - 確認所有場景資料夾都正確載入
4252```
4353
4454</details >
Original file line number Diff line number Diff line change @@ -531,25 +531,29 @@ <h3>🚀 快速開始</h3>
531531 < summary style ="cursor: pointer; font-weight: bold; color: #667eea; "> 🤖 Agent 快速設置指令(點擊展開)</ summary >
532532 < pre style ="margin-top: 10px; background: white; padding: 15px; border-radius: 5px; font-size: 0.9rem; overflow-x: auto; "> 請幫我設置 GitHub Copilot 教學專案環境:
533533
534- 1. 克隆專案(包含 submodule):
534+ 1. 首先檢查目前位置並決定克隆位置:
535+ - 如果在 VS Code 中已有開啟的專案,請詢問我是否要在當前目錄的父目錄克隆
536+ - 如果沒有開啟專案,請詢問我想要克隆到哪個目錄
537+ - 建議的位置:~/projects/ 或 ~/Documents/GitHub/
538+
539+ 2. 克隆專案(包含 submodule):
540+ cd [選定的目錄]
535541 git clone --recursive https://github.com/yulin0629/github-copilot-tutorial.git
536542 cd github-copilot-tutorial
537543
538- 2 . 如果場景 8 的 submodule 沒有正確下載,請執行:
544+ 3 . 如果場景 8 的 submodule 沒有正確下載,請執行:
539545 git submodule update --init --recursive
540546
541- 3 . 檢查專案結構是否完整(應有 8 個場景資料夾)
547+ 4 . 檢查專案結構是否完整(應有 8 個場景資料夾)
542548
543- 4 . 在 VS Code 中開啟專案:
549+ 5 . 在 VS Code 中開啟專案:
544550 code .
545551
546- 5. 確認已安裝必要的 VS Code 擴充套件:
547- - GitHub Copilot
548- - GitHub Copilot Chat
552+ 6. 確認已安裝必要的 VS Code 擴充套件,如果未安裝請協助安裝
549553
550- 6. 設定 VS Code 的 Copilot 語言為繁體中文
554+ 7. 檢查並設定 VS Code 的 Copilot 語言為繁體中文
551555
552- 完成後請告訴我設置狀態,並開啟 index.html 預覽教學內容。</ pre >
556+ 完成後請告訴我設置狀態,並直接開啟 index.html 預覽教學內容。</ pre >
553557 </ details >
554558
555559 < div style ="text-align: center; margin-top: 20px; display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; ">
You can’t perform that action at this time.
0 commit comments