VsCode - GradedJestRisk/tools GitHub Wiki

Table of Contents

Conf

Overview:

Install

Install!

  • vscode : use chocolatey
  • extension code --install-extension <EXTENSION_NAME> eg code --install-extension streetsidesoftware.code-spell-checker - export existing

Shortcuts

cheatsheet

Navigate

Go to :

  • tab: Control + Tab
  • element in line: Control + <- ->
  • definition (source): F12

Change line

Overview:

  • select : Control + L (repeat)
  • move : Alt + arrow
  • copy: Shitf + Alt + Arrow
  • delete current line: Control Shift K

Change name

List: rename all occurences of symbol

  • in current file: Ctrl L
  • in all files : F2

Change Block

List:

  • select : Shift Alt + Mouse
  • toggle comment: Control /
  • extract method : Control Alt R

Guess

Overview:

  • spell: Control ;
  • end (completion): Control Spacebar

Other

Overview:

  • query window (Palette): Control Shift P

Settings

Start this way to feed setting.json Located at

  • windows: D:\Profiles\<USER>\AppData\Roaming\Code\User
  • linux:

Snippets

list here Overview:

  • flow:
    • if/else: ife
    • for: fl
  • functions:
    • anonymous: f
    • name: fn
  • web
    • getElementById: geti

Shopping list

List:

  • generate function if not defined
  • autocomplete variable name based on natural language
⚠️ **GitHub.com Fallback** ⚠️