Visual Studio Code Tips

Sunday , 20, August 2023

Key Bindings for Visual Studio Code

https://code.visualstudio.com/docs/getstarted/keybindings

 

  • Toggle Word Wrap (editor.action.toggleWordWrap) : Alt+z

The code can be wrapped by the width of the editor.

 

  • Format Document (editor.action.formatDocument) : Shift+Alt+F

Can normalize Json files

 

  • Multiple selection of words : Ctrl+D

Can edit or replace selected words.

 

  • Command input mode : Ctrl+Shift+P

Can execute git command and so on.

 

  • Comment-out : Ctrl+/

Can do comment-out for multi-rows