vscode-text-power-tools icon indicating copy to clipboard operation
vscode-text-power-tools copied to clipboard

[Feature request] Take pattern from word under cursor

Open vdun opened this issue 3 years ago • 2 comments

Instead of asking about the pattern (e.g. regex).

vdun avatar May 04 '22 11:05 vdun

@vdun Which command would you like to use it for? For filter lines?

There is a command called Filter lines including the selected text which filters all lines containing the currently selected text. Would you like something like that just that the new command should interpret the selection as regex?

qcz avatar May 04 '22 15:05 qcz

Yes it works, but I have to select the text first. The minor feature request is to automatically select the word under the cursor, and then apply the command.

vdun avatar May 13 '22 00:05 vdun