-
Notifications
You must be signed in to change notification settings - Fork 4.2k
refactor diagnostic service to prepare prototype work #356
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor diagnostic service to prepare prototype work #356
Conversation
…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
There was a problem hiding this comment.
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.
…sticrefactoring
|
@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.
…sticrefactoring
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Typo: "IncrementalAnalyzerDelegatee"
There was a problem hiding this comment.
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.
…sticrefactoring
|
👍 (except one minor issue I commented on in one of the files) |
|
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. 👍 |
…sticrefactoring
refactor diagnostic service to prepare prototype work
|
👍 |
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
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.