You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The latest update with the auto update for the omnisharp.json file breaks the project initialization if the project also includes custom paths for other analyzers. It ends up duplicating the json block containing the paths.
I think it happens because I only checked pascal cased properties. If you put your custom paths into RoslynExtensionsOptions:LocationPaths instead of locationPaths, it should work - not duplicate anything and preserve all paths. Same goes for enableAnalyzersSupport - it needs to be in pascal case or it's gonna get duplicated as well.
Omnisharp doesn't seem to care about casing though, so I'll try to get it fixed.
Sorry it's taking so long. It's the end of the semester for me so I have assignments and exams to deal with (2 to go 😅). It will hopefully be over next week and I'm going to fix it then.
In the meantime I think you could try putting everything into pascal cased properties.
The latest update with the auto update for the omnisharp.json file breaks the project initialization if the project also includes custom paths for other analyzers. It ends up duplicating the json block containing the paths.
It looks like this:
{ "RoslynExtensionsOptions": { "enableAnalyzersSupport": true, "locationPaths": [ "/Users/jdenton/customanalyzerpath", "/Users/jdenton/.vscode/extensions/josefpihrt-vscode.roslynator-2.3.0/roslyn/common", "/Users/jdenton/.vscode/extensions/josefpihrt-vscode.roslynator-2.3.0/roslyn/analyzers", "/Users/jdenton/.vscode/extensions/josefpihrt-vscode.roslynator-2.3.0/roslyn/refactorings", "/Users/jdenton/.vscode/extensions/josefpihrt-vscode.roslynator-2.3.0/roslyn/fixes" ], "EnableAnalyzersSupport": true, "LocationPaths": [ "/Users/jdenton/.vscode/extensions/josefpihrt-vscode.roslynator-2.3.0/roslyn/common", "/Users/jdenton/.vscode/extensions/josefpihrt-vscode.roslynator-2.3.0/roslyn/analyzers", "/Users/jdenton/.vscode/extensions/josefpihrt-vscode.roslynator-2.3.0/roslyn/refactorings", "/Users/jdenton/.vscode/extensions/josefpihrt-vscode.roslynator-2.3.0/roslyn/fixes" ] },
The text was updated successfully, but these errors were encountered: