-
Notifications
You must be signed in to change notification settings - Fork 77
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
SLVS-1559 Embed Enterprise dotnet analyzer #5787
SLVS-1559 Embed Enterprise dotnet analyzer #5787
Conversation
src/Integration.Vsix.UnitTests/EmbeddedAnalyzers/EmbeddedAnalyzerDLLsSmokeTest.cs
Outdated
Show resolved
Hide resolved
src/Integration.Vsix/EmbeddedAnalyzers/EmbeddedRoslynAnalyzersLocator.cs
Outdated
Show resolved
Hide resolved
@@ -43,8 +43,8 @@ public static string GetPluginKey(this Language language) => | |||
{ | |||
Language.C or Language.CPP => "cpp", | |||
Language.JS or Language.TS or Language.CSS => "javascript", | |||
Language.CS => "csharp", | |||
Language.VBNET => "vbnet", | |||
Language.CS => "csharpenterprise", |
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.
We might need to adapt also the code here:
"SonarAnalyzer.CSharp" => $"{SonarRuleRepoKeys.CSharpRules}:{errorCode}", |
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.
And enhance the test:
[DataRow("S666", "csharpsquid", "S666", "SonarAnalyzer.CSharp", null)] |
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.
No, rule ids are the same for both plugins
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.
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.
Ah, that thing. They broke it in one of the VS updates, so we no longer rely on it. I will see if I need to update this for backwards compatibility
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.
Done
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.
You missed to rename the interface "IEmbeddedRoslynAnalyzersLocator" to "IEmbeddedDotnetAnalyzersLocator"
Why didn't it do it automatically.... |
Quality Gate passedIssues Measures |
3592f69
into
feature/dotnet-analyzer-repackaging
SLVS-1559