How can I select every N lines in visual studio code. I can't find a proper regualr expression can let me do this.
How can I select every N lines in visual studio code. I can't find a proper regualr expression can let me do this.
.* button).(.*\n){N} into the search field, replacing N with the number of lines to select (such as (.*\n){2} for every second line).Select All Occurrences of find Match from the command palette to select every Nth line.