I am working with the 2010 SDK and I am trying to figure out how to associate VS with somehow that I have a background process that constantly analyzes .CS files in the current project and adds them to the dictionary, so I can show some graphic hints in the editor of a custom text document that I have.
I have done quite a bit of research here: http://msdn.microsoft.com/en-us/library/bb166441.aspx
But I canβt find a way to βsnapβ to VS ... like an entry point so that this service can run in the background while the project is open.
I still have an Editor Editor project, I made some changes to the editor with ... how can I control files in the background?
Have you started with the Visual Studio Managed Extensibility Framework ? I found downloading samples from http://learnvsxnow.codeplex.com
Perhaps of particular interest is the "Automatic download of packages": http://dotneteers.net/blogs/divedeeper/archive/2008/03/23/LVNSideBar1.aspx
And then you can start a new thread for your actual workflow.
Hope this helps.
You can implement an interface IVsTrackProjectDocumentsEvents2for listening to project events, such as adding a file to a project.
IVsTrackProjectDocumentsEvents2
OnAfterAddFilesEx, OnAfterRemoveFiles OnAfterRenameFiles - , .
OnAfterAddFilesEx
OnAfterRemoveFiles
OnAfterRenameFiles
Source: https://habr.com/ru/post/1757469/More articles:Html call in java? - javaHow to get rid of error messages using PHP imap_fetchstructure ()? - phpSetting up internal foswiki (only authorized can view / edit) - .htaccessCould not find an error in this C - c programWhy doesn't C # have a virtual call agreement? - c #Qt Signal Inheritance? - qtHow to show this splash screen in 3 seconds? - delphiNested and combined conditions - performanceSkip jquery loop to repeat until animation callback completes? - javascriptprogrammatically create pad sound - c ++All Articles