Setting cursor position with Visual Studio Extension
问题 I'm writing my own Visual Studio 2010 Extension that should help me navigating a rather large solution. I already have a dialog based VS Extension that shows me a class name and a function name depending on some search criteria. I now can click this class/method and I then already can open the correct file and jump to the function. What I now want to do is to set the cursor at the start of that function. My code to jump to the function is: Solution currentSolution = ((EnvDTE.DTE)System