I am coding a Visual Studio extension in Visual Studio 2019, that should show lightbulbs with code suggestions out of a .xml file.
My current problem is, I can't find an event that gets raised if the currently shown text-editors (.cs) files are changing. I would be glad if someone knows a tutorial or could tell me how and where I need to call the event and how does it trigger.
Solved it with the
ITagger.