HotSettings icon indicating copy to clipboard operation
HotSettings copied to clipboard

Is ProvideAutoLoad needed?

Open madskristensen opened this issue 3 years ago • 3 comments

When the commands are being invoked, the package is being loaded and the handlers initialized. Does this package need autoloading at all?

madskristensen avatar Jul 28 '21 13:07 madskristensen

I'm not sure. There were several UI components: including a right click menu that is added to the editor margin. I think I just need to register the TextViewCreationListener. I also added a button to the Solution Explorer, but that might just be loaded by the VSCT. I'll take a look.

justcla avatar Jul 28 '21 15:07 justcla

I looked into it. You're right; I don't need to autoload for the context menu items to show and work. But the TrackActiveItems button that I added to the Soln Expl will show as OFF until it is pressed, regardless of the true state. So if I don't auto-load, there will be a display bug in the TrackActiveItems button.

Got any suggestions?

justcla avatar Jul 28 '21 17:07 justcla

you probably need autoload then

madskristensen avatar Jul 28 '21 17:07 madskristensen