vscode-text-power-tools
vscode-text-power-tools copied to clipboard
[Feature request] Take pattern from word under cursor
Instead of asking about the pattern (e.g. regex).
@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?
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.