00-snippet ์ค์

1 min read
๐์ค๋ํซ ์ค์ ํ๋ ๋ฐฉ๋ฒ์ ์์๋ณด์
- snippet generater ์ฌ์ฉํ๊ธฐ
์ค๋ํซ ์ค์ ์ generater๋ก ์ฐ์ ๋ง๋ ๋ค. ์ผ์ชฝ์ ์ค์ ํ๊ณ ์ถ์ ๋ช ๋ น์ด, ์ค๋ฅธ์ชฝ์ ๋ฃ์ด์ผ ํ๋ ์ค์ ์ด ์๋์ผ๋ก ๋์จ๋ค. ๋ด๊ฐ ์ฌ์ฉํ๋ ์์ฑ๊ธฐ๋ [์ฌ๊ธฐ] ์ด๋ค.
์ด๋ ๊ฒ ๋ช ๋ น์ด๋ฅผ ์ผ์ชฝ์ ์ฐ๊ณ ์ค๋ฅธ์ชฝ ํ๋ฉด์ copied ๋ฅผ ๋๋ฌ ๋ณต์ฌํด์ค๋ค.
- vscode์์ ์ค์ ํ๊ธฐ
File > Preferences > Configure User Snippets๋ฅผ ํด๋ฆญํ๋ค.
- ์ค์ ํ๊ณ ์ถ์ ์ธ์ด๋ฅผ ํด๋ฆญํ๋ค.(ํ์์ ๊ฒฝ์ฐ javascript)
- { } ์์๋ค๊ฐ ๋ณต์ฌํ ๊ฒ์ ๋ฃ๊ธฐ
$0 ์ ๋จ์ถ์ด๋ฅผ ๋ถ๋ฌ์์ ๋ ์ปค์์ ์์น๋ฅผ ์๋ฏธํ๋ค.
- ๋ง์ฝ ์ค๋ํซ์ด ์๋๋์ง ์์ ๊ฒฝ์ฐ
User > settings.json ์ ์๋์ ๋ด์ฉ์ ์ถ๊ฐํด์ค๋ค.
"[์ธ์ด๋ช
]": {
"editor.quickSuggestions": {
"other": "on",
"comments": "off",
"strings": "off"
}
}
โญ ์ค๋ํซ ์ค์ ๋!
0
Subscribe to my newsletter
Read articles from rambus06 directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by

rambus06
rambus06
๋ค์, ๋๋ค์ 'ํ๋ก'๊ทธ๋๋จธ๊ฐ ๋ ๋๊น์ง