1. 程式人生 > >vs-code tips

vs-code tips

setting

-ctl+shift+p
-user setting / worspace seting
- theme color etc.

shortcuts

功能 操作
ctl+d select words [one or more times]
alt+cursor select multis position or lines
alt+shift+mouse select multi columns
ctl+shift+p -
ctl+ / -
ctl+p -
ctl+G -

debug

  1. choose and open launch.json
  2. start debugging
  3. F9 checkpoint, F5 run, F10 step over

code navigation

  1. F12
  2. ctl+F12
  3. shift+F12
  4. ctl+click

git

  • add commit
  • push origin master
  • pull
  • git branch
  • git checkout xx
  • publish