Calling ReSharper.ReSharper_GotoFile with a Macro?
Hello all,
I am trying to write a macro that leverages the Goto File functionality in ReSharper. I have the filename that I want to put in the text box and I can invoke the command using:
DTE.ExecuteCommand("ReSharper.ReSharper_GotoFile")
But, I cannot figure out how to get the text in the text box and select the first result to open. I tried passing the filename as the "CommandArgs" parameter of the ExecuteCommand call, but I get an exception.
Any thoughts?
Please sign in to leave a comment.
Hello Tom,
I'm afraid the 'Go To ...' windows can not be accessed from a macro at the
moment. You can write a custom plug-in for ReSharper, that would perform
required navigation. Thank you!
Andrey Serebryansky
Senior Support Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"