Pages

Showing posts with label #Visual studio code. Show all posts
Showing posts with label #Visual studio code. Show all posts

Thursday, July 26, 2018

Duplicate a line or selection within Visual Studio Code in windows


Following is the way to open duplicate a line or selection in the visual studio  code

Shift+alt+down and shift+alt+up

The associated keybindings can be seen by navigating to : File > Preferences > Keyboard Shortcuts from the menu 

Format or beautify code in Visual Studio Code


Following is the way to format the or beautify the code in the visual studio  code

 1)Use the shift+alt+f keyboard shortcut on Windows .
 2)Use the shift+option+f  keyboard shortcut on Mac.

How to stop or terminate node server

To terminate or to stop node server from the command prompt press CTRL+c

Press y to terminate or to stop the server