editorconfig / editorconfig-visualstudio

EditorConfig Visual Studio Addin
http://editorconfig.org
Other
353 stars 75 forks source link

Fix processing speed of large files #42

Closed robertcoltheart closed 8 years ago

robertcoltheart commented 8 years ago

Fixes #41. Switched to using ITextBuffer rather than using TextDocument, which seems to be far quicker processing large files. Appreciate that this has caused a bit of a refactor at the same time, including a new paket reference to ComponentModelHost. I think the code is a bit cleaner this way though.

@Mpdreamz Let me know your thoughts.

Mpdreamz commented 8 years ago

This is freaking awesome @robertcoltheart, no more lockups in the refactored version so far! :+1:

I will keep this running for a weekthen see if we can finally do a release of the new version at the end of the week.

robertcoltheart commented 8 years ago

@Mpdreamz No problem, glad to help out!