eberthold / SteroidsVS

Visual Studio Extension
https://marketplace.visualstudio.com/items?itemName=eberthold.SteroidsVS
MIT License
25 stars 2 forks source link

No display of warnings if Error List is filtered #4

Open fsdsabel opened 6 years ago

fsdsabel commented 6 years ago

When the Error List is filtered to "Build Only", the extension shows no errors or warnings.

eberthold commented 6 years ago

Did some investigation into this particular issue.

The IErrorList.TableControl doesn't provide the plain infos about "IntelliSense" entries when "BuildOnly" is set. I will try to get the ITableManagerProvider and register to all ITableDataSource as a ITableDataSink to bypass this filtering. But it's not guaranteed to work, because theres a chance that filtering takes place at ITableDataSource level.

eberthold commented 6 years ago

Issue is fixed in current pre release => http://vsixgallery.com/extension/97188178-f68c-49a6-9e5e-5fb99661bf09/

public roll-out in next release.

eberthold commented 6 years ago

The new implementation of crawling diagnostics produced some problems as well. There are some dispatching issues to solve, and also some race conditions as it seems.

Additionally the TableDataSources are initialized the first time they are needed, so if VS starts with the active "Build Only" filter set, than IntelliSense warnings won't show until the filter is disabled at least once.

May I should investigate if there is a better way to crawl the roslyn results on another way without doing the compilation by myself in parallel.