Selection of lines per keyword Vscode

Asked

Viewed 45 times

1

I have here a very large document and I need to select all the lines that have the keyword "title", using the search tool I can filter all the lines, but I did not find any command to select all of them at once. I tried to use the Alt + Shift + >, but I end up selecting only one line where the keyword appears.

foto do documento

1 answer

1


Select the word you want to use as the basis (with the same cursor, without using the search tool). In your case it will be "title".

Then press Ctrl + Shift + L to select all occurrences. Then press Ctrl + L to select the complete lines.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.