We are developing an Visual Studio Addin which should allow users to jump to code positons within a new created function (of course using CodeAnalysis). Actually we can only jump to the Symbols using VisualStudioWorkspace.TryGoToDefinition
. The underlying interface IDocumentNavigationService
would be very helpful since it provides methods like TryNavigateToSpan
or TryNavigateToPosition
, but the interface is internal and so we can't get the an instance of the Navigation Service.
Is there some other service that would help us? Or does anybody know if there are plans to make the IDocumentNavigationService
interface public?