Code > Preferences > Setting
{
"window.zoomLevel": 1,
"editor.fontSize": 14,
"terminal.integrated.fontSize": 14,
"editor.wordWrap": "on",
"editor.tabSize": 2,
"files.associations": {
"*.js": "javascriptreact"
}
}
"files.associations": {
"*.js": "javascriptreact"
}
klik tanda file pojok kanan atas!!
emmet include languages
{
"javascript": "javascriptreact"
}
ALTERNATIVE SETTING settings.json
{
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true,
"prettier.semi": "false",
"prettier.printWidth": 9999,
"prettier.arrowParens": "avoid",
"prettier.trailingComma": "none"
}
- ES7 React/Redux/GraphQL/React-Native snippets
- Bracket Pair clorizer
- Auto Rename Tag
- Highligth Matchiing Tag
- Indent-rainbow
Integrated Terminal
Membuka Terminal dengan menggunakan perintah :
Windows: ctrl + j
MacOs: cmnd + j
cmd shift P atau View > Command Pallete
ketik: snippet
pilih Configure User Snippets
ketik: react
pilih: javascriptreact.json (javascript react)
Ref:
