Menu

Showing posts with label Join lines. Show all posts
Showing posts with label Join lines. Show all posts

Join multiple lines in one line in VS code | Developer Tips

There could be multiple options to join the lines in VS code editor. 

1. We can simply set the shortcut as per our conveniant to use the join lines.
a. Files >> Preferences >> Keyboard shortcuts
b. Search for join lines 
c. Edit and enter your keyboard shortcut 


2. We can select the option from action list for that, press Ctrl + Shift + P shortcut, this will open the list of action, from here one can choose the action "Join lines" to join the selected lines.