slide: https://hackmd.io/@hpmsmt/github-copilot-setup
-
AI ์ฝ๋ฉ ํด์ธ Copilot์ ๊ฐ๋ฐํ์ ๋์
ํ๊ณ ์ ๊ฒํ ์ค์
๋๋ค.
-
๋จผ์ ์์์ ์ธ์์ผ๋ก ์ฌ์ฉํ
์คํธํด๋ณด๊ณ ๊ฒฐ๊ณผ๊ฐ ์ข์ผ๋ฉด ์ ๊ทน์ ์ผ๋ก ํ์ฐํ ๊น ํฉ๋๋ค.
-
๋ง์ ๋์ ๋ถํ๋๋ฆฝ๋๋ค.
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More โ
์ฃผ์์ฌํญ : ํ์ฌ ๊ท์ ์ ๋ฐ๋ผ ๋ณด์ ๊ด๋ จ ์ ์ํด์ผ ํ๋ ๊ผญ ์ค๋ช
์ ๋ฐ๋ผ์ฃผ์๊ธฐ ๋ฐ๋๋๋ค
- ๋ง์ดํฌ๋ก์ํํธ ๊นํ์์ ๋ง๋ AI ์ฝ๋ฉ ํด
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More โ
- ๋งํฌ
- ๊ด๋ จ ์์
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More โ
์ ์ ์ฌํญ
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More โ
- ํ์ฌ์ ๋ณด์ ์ ์ฑ
์ ๋งค์ฐ ์ฃผ์๊ฐ ํ์ํฉ๋๋ค.
- ๊ทธ๋์ ์กฐ๊ธ ๋นก์ธ๊ฒ ๊ด๋ฆฌํ๊ณ ์ ํ๋ ํ๊ธฐ ๋ด์ฉ๋ค์ ๊ผญ ๋ฐ๋ผ์ฃผ์ธ์.
ํ๊ฒฝ์ค์ 1. Github ๊ฐ์
์ ์์ฌํญ
- ๊ธฐ์กด์ ๊ฐ์ธ ๊ณ์ ์ด ์๋ ๋ถ์ด๋ผ๋ ์๋ก ๊ฐ์
ํด ์ฃผ์ธ์
- ๊ฐ์
์ ์ด๋ฉ์ผ๊ณผ ์์ด๋๋ ํ์ฌ ์ด๋ฉ์ผ๊ณผ ์์ด๋๋ก ๊ฐ์
ํด์ฃผ์ธ์
- ์ด ๊ณ์ ์ผ๋ก๋ Copilot๋ง ์ฌ์ฉํ๊ณ ๊นํ์ ์ฌ์ฉํ์ง ๋ง์์ฃผ์ธ์
- ๊นํ ์ ์ฅ์๋ฅผ ๋ง๋ค๊ณ ์ถ์ผ์ ๋ถ์ ์ ์๊ฒ ์๋ ค์ฃผ์ธ์. ์์๋ก ์ ์ฅ์ ์์ฑ ๊ธ์งํฉ๋๋ค.
- ์ ๊ธฐ์ ์ผ๋ก ๊ณ์ ํ๋์ ์ฒดํฌํ๋๋ก ํ๊ฒ ์ต๋๋ค.
ํ๊ฒฝ์ค์ 2. ์ฝํ์ผ๋ฟ ๊ฐ์
- Github ๋ก๊ทธ์ธํ Copilot ๋งํฌ ์ ์ ๋งํฌ
- 'Start my free trial' ํด๋ฆญ
- Monthly plan ์ ํํ ์ด๋ก ๋ฒํผ ํด๋ฆญ
- 60์ผ๊ฐ ๋ฌด๋ฃ์ด๊ณ ์ดํ์๋ 1๋ฌ์ 10$์
๋๋ค. ๋ฒ์ธ์นด๋๋ก ํ์ฌ์์ ์ง์๋ฉ๋๋ค.
- 'Confirm your payment details' ํ๋ฉด์์ ์ ๋ณด์
๋ ฅํ๊ณ ์ด๋ก ๋ฒํผ ํด๋ฆญ (์๋ ์ฐธ์กฐ)
- First name : HYUNGGUN
- Last name : LEE
- Address (P.O. box, company name, c/o) : Hanwha Presicion Machinary
- Address line 2 (Apartment, suite, unit) : 6, Panguo-ro 319Beun-gil, Bundang-gu
- City : Sungnam
- Postal/Zip code : 13488
- Country/Region : Korea, South
- State/Province : Gyeonggi-do
- 'Confirm your payment details' ํ๋ฉด์์ ์ ์ฉ์นด๋ ์ ๋ณด ์
๋ ฅํ ๋
น์๋ฒํผ ํด๋ฆญ
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More โ
๋ฐ๋์ ๋ฒ์ธ์นด๋๋ฅผ ์
๋ ฅํ์ธ์
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More โ
- ์ต์ข
์ ์ผ๋ก Submit ํด๋ฆญํ๋ฉด ๊ฐ์
์๋ฃ์
๋๋ค. ์ค์ํ ์ค์ ์ด ๋จ์์ผ๋ ์๋ํ์ด์ง ๊ผญ ๋ณด์ธ์!
ํ๊ฒฝ ์ค์ 3. ์ค์ํ ์ค์
- ์๋ ํ๋ฉด์์ 'Suggestions matching public code'์ Select option์ ๋๋ฌ Block์ผ๋ก ์ค์ ํฉ๋๋ค.
- ์ด๊ฑธ Allow๋ก ํ๋ฉด ๋ค๋ฅธ ์ฌ๋ ์ฝ๋๋ฅผ ๊ทธ๋๋ก ์ ์๋ฐ๊ฒ ๋์ด ์คํ์์ค ์นจํด์ฐ๋ ค๊ฐ ์์ต๋๋ค. ๊ผญ Block์ผ๋ก ์ค์ ํฉ์๋ค.
- 'Allow GitHub to use my code snippets for product improvements' ๋ฅผ ํด์ ํฉ๋๋ค.
- ์ด๊ฑธ ์ฒดํฌํ์ฑ๋ก ๋๋๋ฉด ๊นํ์ด ๋ด ์ฝ๋๋ฅผ ๊ฐ์ ธ๊ฐ๋๋ค. ๊ผญ ํด์ ํด์ผ ํฉ๋๋ค.
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More โ
ํ๊ฒฝ ์ค์ 4. ์๋ํฐ ์ต์คํ
์
์ค์น
- ์ด์ Copilot ๊ฐ์
์ด ์๋ฃ๋์์ต๋๋ค.
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More โ
์ต์คํ
์
์ค์น ํ๋ฉด์ด ๋์ต๋๋ค.
- ์ง์ํ๋ ์๋ํฐ๋ 4๊ฐ์ง ์
๋๋ค.
- Visual Studio Code
- Visual Studio
- Visual Studio๋ 2022 Ver17.2 ์ด์์ด ์ค์น๋์ด ์์ด์ผํฉ๋๋ค.
- JetBrains
- Neovim
- NeoVim์ Neovim ๋ฐ Node.js Ver17 ์ดํ๊ฐ ์ค์น๋์ด ์์ด์ผํฉ๋๋ค.
- ๋ณธ์ธ์ด ์ฌ์ฉํ๋ ์๋ํฐ๋ฅผ ๋๋ฌ์ ์ค๋ช
์ ๋ฐ๋ผ ์ต์คํ
์
์ ์ค์นํฉ๋๋ค.
ํ๊ฒฝ ์ค์ 5. ์ฌ์ฉํด๋ณด๊ธฐ
-
์ ๊ฐ Visual Studio Code๋ฐ์ ์์จ๋ด์ ์ด๊ฒ๋ง ์ค๋ช
๋๋ฆฝ๋๋ค. ๋ค๋ฅธ๊ฑฐ ํด๋ณด์ ๋ถ์ ์ฌ๊ธฐ์ ๋ด์ฉ์ ์ฌ๋ ค์ฃผ์๋ฉด ๊ฐ์ฌํ๊ฒ ์ต๋๋ค!
-
์๋ํฐ ์คํํ๋ฉด ๊นํ ๋ก๊ทธ์ธ์ ์๊ตฌํฉ๋๋ค. ๋ก๊ทธ์ธํฉ๋๋ค.
-
'self-signed โฆ'ํ๋ ์๋ฌ๊ฐ ๋ฐ์ํ๋ ๊ฒฝ์ฐ์๋ Win-CA๋ผ๋ ์ต์คํ
์
์ ์ค์นํ๊ณ ์ต์
์ Inject๋ฅผ append๋ก ์ค์ ํ ์ฌ์์ํฉ๋๋ค. (์ด๋ถ๋ถ ์ ์๋๋ฉด ๋ฐํ๊ทผ์๊ฒ ๋ฌผ์ด๋ณด์ธ์)
-
์ฐํ๋จ์ ํ๊ธฐ ์์ด์ฝ์ด ๋์ค๋ฉด ์ด์ ์ฌ์ฉ๊ฐ๋ฅํฉ๋๋ค.
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More โ
- ๋๊ณ ์ถ์ผ๋ฉด ์์ด์ฝ ํด๋ฆญํ๋ฉด ๋นํ์ฑํ ๋ฉ๋๋ค.
-
test.js๋ผ๋ ํ์ผ์ ๋ง๋ค๊ณ ์๋์ ๊ฐ์ด ์ฃผ์์ ์
๋ ฅํด๋ด
๋๋ค.
- ์ฃผ์์ ์
๋ ฅํ๊ฑฐ๋, ํจ์ ์ด๋ฆ์ ์ ์ผ๋ฉด ๋ด์ฉ์ ์ ์ํด ์ค๋๋ค. ์ ์์ ์๋ฝํ๋ ค๋ฉด tab์ ๋๋ฅด๋ฉด ๋ฉ๋๋ค.
- ์๋ ๋ช
๋ น์ด๋ง ๊ธฐ์ตํ๋ฉด ๋ฉ๋๋ค.
- TAB : ์ ์ ์๋ฝ
- ESC : ์ ์ ์ทจ์
- ALT+Enter : ๋ณ๋ ์ฐฝ์ 10๊ฐ ์ ์ ๋ณด์ฌ์ฃผ๊ธฐ
- Copilot ๋นํ์ฑํ ํ๊ธฐ : ํ๋จ ์์ด์ฝ ํด๋ฆญ
- ๋ ์์ธํ ์ฌ์ฉ๋ฐฉ์์ ํ๊ธฐ ๋งํฌ ์ฐธ๊ณ ํ์ธ์.
์๋ฃ
- ์ด์ ์
๋ฌด์ ์ฌ์ฉํด ๋ณด์๊ณ ํ๋ฌ์ฏค ํ์ ์ฌ์ฉ์๊ฐ์ ์๋ ค์ฃผ์ธ์.
- ์ฒ์์๋ ์ต์์น ์์ ๋ถํธํ ์ ์์ต๋๋ค. ๊ทธ๋๋ ๊ฐ๋ฅํ ํ์ฉํด ๋ด ์ฃผ์ธ์.
์๊ฒฌ
- ์๊ฒฌ ์์ผ๋ฉด ์ฌ๊ธฐ์ ์ ์ด์ฃผ์ธ์.
- Edit ๋ฒํผ์ ๋๋ฅด๋ฉด ์ด ๋ฌธ์๋ฅผ ์์ ํ ์ ์์ต๋๋ค.
- ๋ฌธ์๊ฐ ์๋ชป๋ ๋ถ๋ถ์์ผ๋ฉด ์์ ํด์ฃผ์๋ฉด ๊ฐ์ฌํ๊ฒ ์ต๋๋ค.
๊ฐ์ฌํฉ๋๋ค