I am trying to create a macro that will execute a find and replace.
I can use editor.action.startFindReplaceAction but that just opens the input. I tried putting a command text after that to input the text I wanted to find but that typed the text in the main editor and not in the find dialog box. Is there anyway to pass arguments to find and replace or to have the type command add text to the input box instead of the editor?