-
-
Notifications
You must be signed in to change notification settings - Fork 27
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
Full compatibility with Roslyn #57
Comments
There's no communication with Roslyn, the If VSCode's C# extension doesn't recognize them then it's a bug in their extension. Looks like this is the same issue or related to dotnet/vscode-csharp#5999. |
Just chiming in here from the Roslyn team: we do expect generators to be running but we have had some reports of various generators not working with new extension. We are investigating those reports (dotnet/roslyn#68590 is one bug, dotnet/vscode-csharp#5999 is the other you pointed to). If you see those bugs get closed and your stuff is still not working, do file a bug and we'll take a look. |
As a temporary workaround, you can tell C# extension to use Omnisharp instead of Roslyn with |
This likely won't solve the issue, but still, it's probably better just in case.
For reference, you can see how .NET 7 GeneratedRegexAttribute adds those to its generated code. |
A file is considered generated by .NET1 if it has a We use the Footnotes
|
FYI we should have a fix on the way for this: dotnet/roslyn#70331 (and yes, I'm embarrassed here.) |
And version 2.7.25 is now out to the VS Code extension marketplace, so that should fix this. If there's still issues do let me know and we'll dig further! |
Tested 2.7.25 and works great, so I'll close this issue as fixed. Thank you so much! |
still doesnt work with the newest version of the extension |
@ana-rchy If you still have issues with the Microsoft C# extension, it would probably be better to report it in their repository (https://github.com/dotnet/vscode-csharp). Make sure to mention the version of the extension you are using, and whether or not you're also using the C# Dev Kit extension (https://github.com/microsoft/vscode-dotnettools). |
@ana-rchy @jasonmalinowski For me on v2.8.23 of Code C# extension it's now partially working. I no longer get error squiggles on references defined in generated code. But when I try to use "jump to definition" or "find all references" where it involves generated code, I get this bug. |
Situation
Visual Studio Code's C# extension just got a massive update from 1.26.0 to 2.0.320 (see here), which replaces Omnisharp with Roslyn as the default language server.
I can tell it has an amazing processing speed and is more current than OmniSharp.
Problem
The current Godot plugin doesn't communicate with Roslyn about any existent, project-based SignalNames and MethodNames.
Example
Suggestions
The text was updated successfully, but these errors were encountered: