codecadwallader / codemaid

CodeMaid is an open source Visual Studio extension to cleanup and simplify our C#, C++, F#, VB, PHP, PowerShell, JSON, XAML, XML, ASP, HTML, CSS, LESS, SCSS, JavaScript and TypeScript coding.
http://www.codemaid.net
GNU Lesser General Public License v3.0
1.89k stars 356 forks source link

Fix threading exceptions when running Solution cleanup #851

Closed olegtk closed 2 years ago

olegtk commented 2 years ago

Allow calling new methods (using IFindService) from background thread by switching to UI thread explicitly, which was done previously by DTE FindPattern/ReplacePattern methods implicitly (via COM marshalling).

Addresses #849.

codecadwallader commented 2 years ago

Thanks for making these updates and the explanation!