SteroidsVS icon indicating copy to clipboard operation
SteroidsVS copied to clipboard

No display of warnings if Error List is filtered

Open fsdsabel opened this issue 7 years ago • 3 comments

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

fsdsabel avatar May 18 '18 06:05 fsdsabel

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 avatar Jun 02 '18 10:06 eberthold

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

public roll-out in next release.

eberthold avatar Jun 23 '18 16:06 eberthold

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.

eberthold avatar Jun 25 '18 18:06 eberthold