Install Editor

Goal

  • โšก Install editor
  • ๐Ÿ”ฅ Setup editor

Visual Studio Code

Visual Studo Code is most popular editor (in my opinion) in 2020.

Ref: https://stackshare.io/stackups/atom-vs-sublime-text-vs-visual-studio-code

Please install VS Code from the below link

https://code.visualstudio.com/

Add Prettier plugin

info

By adding this plugin, editor will automaticaly format your code pretty.

Install

https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode

Setting

View -> Command Palette -> search: "open user settings" -> search: "format on save" -> check format-on-save-vscode

Change tabsize

View -> Command Palette -> search: "open user settings" -> search: "tabsize" tab-setting

Confirm Tab Size is "2".

Add open in browser plugin

Please install this plugin

https://marketplace.visualstudio.com/items?itemName=techer.open-in-browser