Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@heejaechang
Copy link
Contributor

refactored existing diagnostic service to make it easy for us to prototype diagnostic analyzer version 2.

basically, an option is added that we can flip on the fly to switch between existing engine and new prototype.

also, added a base type that, if implemented, all existing IDE features should work as it used to.

…ween old engine and new engine

moved some more files around diagnostic incremental analyzer and added option to choose between two engines.
moved v1 engine to its own namespace and updated sources accordingly.

also added BaseDiagnosticIncrementalAnalyzer which contains all methods that engine needs to implement to make all other services which consume IDiagnosticAnalyzerService to just work.

probably later we will change it but for now, this should let us test v2 engine isolated without too much changes in other part of code base
put middle man in between diagnostic incremental analyzer so that two version can be changed without re-starting VS.
made diagnostic analyzer to clear existing diagnostics that belong to turned off diagnostic analyzer engine
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ignore this file. it is for other change and my ignorance on git made me to include it here and not sure how to remove it.

@heejaechang
Copy link
Contributor Author

@srivatsn @shyamnamboodiripad @mavasani can you take a look? I would like to check this in and do some perf test fix.

perf test fix is interleaved with this checkin.

we can end up load analyzers for a language that does not even exist in current solution.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo: "IncrementalAnalyzerDelegatee"

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I intended to use Delegatee.

@shyamnamboodiripad
Copy link
Contributor

👍 (except one minor issue I commented on in one of the files)

@mavasani
Copy link
Contributor

As we discussed offline, we need the new engine for one work or other. So its ok if we check this in for prototype work. 👍

heejaechang added a commit that referenced this pull request Feb 12, 2015
refactor diagnostic service to prepare prototype work
@heejaechang heejaechang merged commit f14c6db into dotnet:master Feb 12, 2015
@heejaechang heejaechang deleted the diagnosticRefactoring branch February 12, 2015 07:31
@srivatsn
Copy link
Contributor

👍

dibarbet pushed a commit to dibarbet/roslyn that referenced this pull request Nov 21, 2025
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants