I am looking for a way to give multiple line spacings or reduce spacing.
for ex:
<ul> <li> </li> <li> </li> </ul> becomes:
<ul> <li> </li> <li> </li> </ul> I am looking for a way to give multiple line spacings or reduce spacing.
for ex:
<ul> <li> </li> <li> </li> </ul> becomes:
<ul> <li> </li> <li> </li> </ul> You can select all and use SHIFT+TAB to unindent.
you can select multiple line then -> use Tab key for adding space -> use Shift + Tab keys for deleting space from beginning of line in VS code
=>for multiline at same time you can use Shift + Alt + Up/Down arrow key then edit your code or remove/add space.
=>you can edit more then one line at same time in anywhere in code press and hold Alt key then click on lines with mouse. you can edit the text at same time in different lines with different indent.
There was a feature request for that in vscode repo. But it was marked as extension-candidate and closed. So, here is the extension: Indent One space
Install it, and select the area which you want to put space/tab at once and press space or tab button accordingly.
In VSCode the easiest way to add line space by this 2 steps.
Add cursors to the line ends by using Shift + Alt + I short cut
Press Enter Key.
Useful when you are writing Github Readme.md or other Markdowns...
Before: (You will see 3 file names as single sentence)
Beginning Git and GitHub A Comprehensive Guide to Version Control.pdf Beginning XSLT and XPath.pdf Business Intelligence Data Mining.pdf
After:
Beginning Git and GitHub A Comprehensive Guide to Version Control.pdf
Beginning XSLT and XPath.pdf
Business Intelligence Data Mining.pdf