๋งฅ๋ถ ์ธํ
1.ํ๋ธ๋ฃจ ์ค์น
ํ๋ธ๋ฃจ ํํ์ด์ง ๋ค์ด๊ฐ์ ์ปค๋งจ๋ ๋ถ์ฌ๋ฃ๊ธฐ
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
(์ค์นํ ๋ Xcode command Line ์ค์นํ๋๊ณ ๋ฌผ์ด๋ณด๋ฉด ์ํฐ๋๋ฌ์ ์ค์นํ๊ณ ํฐ๋ฏธ๋์ echo ~~ ์ด๋ฐ๊ฑฐ ๋ณต๋ถํจ)
2.ํ์ํ ํจํค์ง ๋ฐ ์ดํ๋ฆฌ์ผ์ด์ ์ค์น
Brew install โcask ํ๋ฉด ๋งฅ์ฉ ์ดํ๋ฆฌ์ผ์ด์ ์ ์ค์นํ ์ ์์
brew install โcask visual-studio-code google-chrome slack iterm2
Brew install ํ๋ฉด ํจํค์ง ์ค์น ๊ฐ๋ฅ
Brew install node ๋ก node ์ค์น
brew install yarn โignore-dependencies
node ๋นผ๊ณ yarn ์ค์น
brew install gh
์ผ๋ก git ๋ ์ค์น
3.ํฐ๋ฏธ๋ ์ปค์คํ
Item์์ Appearance > General : Theme : Minimal
Profiles > Session ์์ status bar enabled : ํ์ํ๊ฑฐ active
Iterm color skin : After glow
https://iterm2colorschemes.com/
์ฌ๊ธฐ์ ๋ค์ด๋ฐ์ผ๋ฉด ๋จ
Oh my zsh ์ค์น
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
์ค์น ํ powerlevel10k ์ค์น
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k
์ค์นํ๊ณ
code ~/.zshrc
๋ค์ด๊ฐ์
ZSH_THEME="powerlevel10k/powerlevel10k" ์์ ํ๊ณ ์ค์
Zsh-autosuggestions
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
Syntax-hightlighting ํ๋ฌ๊ทธ์ธ ์ค์
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
code ~/.zshrc
๋ค์ด๊ฐ์
plugins=(
git
zsh-autosuggestions
zsh-syntax-highlighting
)
4.VS code ์ค์
ํฐ๋ฏธ๋ ํฐํธ ์ค์
Setting > terminal font ๊ฒ์ > integrated font : MesloLGS NF
์๋ํฐ ์ฝ๋๋ D2 ๋ก ๋ฐ๊ฟ
- ์ต์คํ ์ ์ค์น
- Auto Import
- Auto Rename Tag
- Code Spell Checker
- Material Theme Icon
- CSpell Tech Updater
- Error lens
- git Graph
- HTML CSS Support
- eslint
- prettier
- vscode-styled-components
๋ฑ๋ฑ..
2. ์๋ํฐ ์ธํ
"files.autoSave": "afterDelay",
"editor.tokenColorCustomizations": {
"comments": "#FFC2C2"
},
"editor.formatOnSave": true,
"explorer.compactFolders": false,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
},
"typescript.updateImportsOnFileMove.enabled": "always",
"eslint.validate": [
"javascript",
"javascriptreact",
"typescript",
"typescriptreact"
],
"javascript.updateImportsOnFileMove.enabled": "always",
"eslint.workingDirectories": [
{
"mode": "auto"
}
],
"eslint.codeAction.showDocumentation": {
"enable": true
},
์ธ์ด๋ธ ๋ช
๋ น์ด ์ปจํธ๋กค + s ๋ก ๋ณ๊ฒฝ
-> ์ธํ
ํญ์์ ๋ฐ๋ก๊ฐ๊ธฐ ํค ์ฌ๊ธฐ์ ๋ณ๊ฒฝ
์ฌ๊ธฐ๊น์ง ๊ธฐ๋ณธ ์ธํ ...
- ์นด๋ผ๋น๋ ์ค์นํด์ ํ์ํค ๋ฐ๊พธ๊ธฐ..
- ๋ง๊ทธ๋ท ์ค์น...
'javascript > ๐ tips' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
scrollIntoVeiw๋ก ์คํฌ๋กค ํญ์ ์๋๋ก ์ ์งํ๊ธฐ(+ ํค๋ณด๋ Enter ์ด๋ฒคํธ) (0) | 2022.06.30 |
---|---|
mouseover / mouseenter ์ฐจ์ด, mouseleaver / mouseout ์ฐจ์ด (0) | 2022.03.28 |
๋๊ธ