resharper-8.2

How do I get a window context so I can create NavigationOptions in a resharper plugin

北战南征 提交于 2019-12-08 04:21:35
问题 I have a navigation plugin which I want to extend to allow support for context navigation. I've got everything I need except for the NavigationOptions instance. In my INavigateFromHereProvider I get called with an IDataContext so can create the NavigationOptions from this using the NavigationOptions.FromDataContext method. Great. In my context action I don't get called with a IDataContext , I get given a ICSharpContextActionDataProvider during construction. I can get my IDeclaredElement from