-
Notifications
You must be signed in to change notification settings - Fork 682
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
Support language features in metadata / decompiled source files #5787
Comments
Scenarios here
|
Is there any update on this? This seems like a pretty big miss from a feature-parity perspective and it's been several months since this ticket was updated. |
Just encountered #6021 but only for some projects in a solution. I'm on version 2.22.5 and everytime I reload the window, the C# output pane shows this:
|
Still not solved? |
This should be available in the next prerelease update to the extension. Will update here once it is published. |
This should now be available in v2.41.26 (pre-release). |
@dibarbet, thank you for fixing this. it was working great for a while, but unfortunately I'm having this issue again with the latest pre-release version and the latest release version of c# extension. Your fix was working when vs code was opening source files as "decompiled metadata as source" but it seems that the most recent versions of the c# extension are opening the same source files in a SymbolCache directory. |
@SherbetHead yeah there is an issue with sourcelink in the latest version. We're working on a fix and should have it out this week. |
What's the status on this? It's frustrating only being able to navigate one level deep into decompiled code. |
@HunterZ this should be available in the latest versions of the extension (either release or prerelease). If you're having problems on the latest version, would you mind filing a new issue? Would be helpful to include the C# logs - https://github.com/dotnet/vscode-csharp/blob/main/SUPPORT.md#collecting-general-logs as well as any information on where the symbols you're navigating to are coming from. |
After having never worked, this suddenly seems to have started working a few days ago. I guess it just took 2-3 months to get into a release version. |
Currently it looks like all metadata as source files are going into the LSP misc workspace. This appears to be because TryAddDocumentToWorkspace never gets called. In VS this is called when the file is opened (the misc files workspace sees it and puts the document in the workspace). Since a solution is never created in the metadata workspace because the file is never added, the metadata workspace is also not registered.
The text was updated successfully, but these errors were encountered: