Sysmagine / SemanticDiff

Community support for SemanticDiff, the programming language aware diff for Visual Studio Code and GitHub.
https://semanticdiff.com
49 stars 0 forks source link

C# version >= 12 is not yet supported #66

Open joefeser opened 3 months ago

joefeser commented 3 months ago

Describe the Bug When clicking on certain commits, a parse error is displayed

To Reproduce Steps to reproduce the behavior: Click on commits

Expected Behavior no errors

Link Link to the pull request or commit where you encountered the bug: https://app.semanticdiff.com/...

image image

mmueller2012 commented 3 months ago

SemanticDiff can currently only parse C# up to version 11. Your code uses the Collection expressions introduced in C# 12.

We are currently looking into parsing C# code using the Roslyn SDK. This should make it easier to support newer versions of C# and ensure that everything is parsed correctly. I will keep you updated.

mmueller2012 commented 2 months ago

We have finished the parser switch and SemanticDiff for GitHub should now support C# up to version 13. Please give it a try and report any issues you encounter.

The VS code extension will get the new parser as part of the next release.