Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

readme.md

Setup VSCode

Code > Preferences > Setting

{
    "window.zoomLevel": 1,
    "editor.fontSize": 14,
    "terminal.integrated.fontSize": 14,
    "editor.wordWrap": "on",
    "editor.tabSize": 2,
    "files.associations": {
        "*.js": "javascriptreact"
    }
}

Tambahkan ini!!

"files.associations": {
 	"*.js": "javascriptreact"
 }

klik tanda file pojok kanan atas!!

1

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"
}

Extention

  • 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
> new!

VSC Snippets

cmd shift P atau View > Command Pallete

ketik: snippet

pilih Configure User Snippets

ketik: react

pilih: javascriptreact.json (javascript react)

Ref: