I’m building a Visual Studio extension to enable voice control for ReSharper features. This will apply to code/C# files only.
I can use the EnvDTE.Command types for the execution of the actual command, but I need to find out which commands are available for the current position within the code. As a first step it would be nice to have the ability to determine which commands are available the same way the ReSharper->Refactor menu works.
Is there a way to programmatically get this information?