Visual studio extension : get name of right-clicked function -
i want create visual studio 2013 extension. when right click on function should give options "generate stub". on clicking on option should able generate specific lines of code.
to frank, not know part of visual studio sdk useful. part of code want generate needs know function has been clicked, along class name.
which part of visual studio sdk should refer ?
you need use automation model (envdte).
first, envdte.dte instance package:
howto: envdte.dte instance visual studio package. http://www.visualstudioextensibility.com/articles/packages/
second, see:
howto: code element @ cursor visual studio .net macro or add-in. http://www.visualstudioextensibility.com/articles/add-ins/
Comments
Post a Comment