How to detect rename symbol in Visual Studio 2015 extension using roslyn?

Is there any way for a Visual Studio 2015 extension to detect when a symbol rename occurs in a solution and does it take effect? Or maybe this feature is available in Roslin? I found IRefactorNotifyService

in Roslyn but this seems to be an inner class. Is there a publicly supported way? (Either in Visual Studio via EnvDTE or Roslyn)?

+3


source to share


1 answer


You are looking for an existing IVsHierarchyRefactorNotify

interface
that predates Roslyn.



Actually Roslyn's point IRefactorNotifyService

is to jump to this VS interface ( source )

+2


source







All Articles