Using Vscode in Laravel ..
when selecting a part of line and press ctrl + /
it comment the whole line with {{-- --}}
1- I don't want to comment the whole line , just the selected part
2- I want to use <!-- -->
instead of {{-- --}}
For
1- I don't want to comment the whole line , just the selected part.
This keyboard shortcut will work for you.
Shift+Alt+A
Add a Comment ctrl + /
Moving a lineup or down alt + up arrow/down arrow
Cut an entire line ctrl + x
Copy an entire line ctrl + c
Quickly open a file ctrl + p
Move to the desired line number ctrl + g
Move to any file within the project ctrl + e
Hide/Show Sidebar ctrl + b
Select the current line and move the cursor to the next line ctrl + l
Show/Hide the terminal ctrl + j
Select and Edit multiple lines alt + cursor drag middle mouse key
Search any word ctrl + f
Search & Replace any word ctrl + h
See previous selections/cursor movements ctrl + u
Quickly close a file ctrl + w
Switch between sidebar services ctrl + q
Open the current folder in the browser alt + l + o
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With