-
Notifications
You must be signed in to change notification settings - Fork 672
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
Go To Definition
doesn't show me the actuall implementation (VSCode)
#5969
Comments
any updates ? @dibarbet |
Will do my best to get to it this week. @moamlrh to make sure I understand - you want to see the decompiled source of |
Exactly, I was trying to to see the implementation/code of any external function/class like a function from Nuget package Btw I solved the issue by disabled But I do need to use this extension |
Dupe of: #5969 |
@CyrusNajmabadi the dupe links to this issue. Meant to link another one? |
This should be in this weeks release (Wednesday). |
Same problem here,Was the lateset version of C# DevKit settled? |
It does work, but you need what we described here https://twitter.com/ilspy/status/1697115935629267198 |
In your screenshot you are in the decompiled source - at the top it says 'Decompiled with ICSharpCode.Decompiler'. However there is currently an issue where you cannot go to definition from inside a decompiled source file. That is tracked by #5787 |
okay I got it,really appreciate your help |
What if I wanted to view the source of packages using the package symbols? |
It is possible you're seeing the sourcelink source in the debugger - which is the real, not decompiled source. We are tracking enabling source link for goto definition here - #6784
If you're debugging a binary built with optimizations enabled (e.g. release mode) this can happen with either decompiled source or source link source. |
Type: Bug
When I press F12 or use the
Go To Definition
option, it only shows me the definition without any implementation. Similarly, when I click onGo To Implementation
, it doesn't work either, it shows me No Implementation Found For "BlaBla"Btw I was using
C# Release version
it was work fine tho, but when I upgraded to the pre-release version I got this problemSample :
When I press "F12/go-to-def" on
ClassFromExternalLibrary
will show me the definition with this on top of the file:I'm using :
VSCode Information :
Version: 1.80.2
Chromium: 108.0.5359.215
Node.js: 16.17.1
V8: 10.8.168.25-electron.0
OS: Linux x64 6.4.4-200.fc38.x86_64
C# extension (v2.0.312 "Pre-Release version")
C# Dev Kit extension (v0.3.18 Pre-Release version)
Dotnet version (8.0.100-preview.6.23330.14)
Everything is work fine (autocomplete, intellicode, go-to-def(on my own code))
Extension version: 2.0.312
VS Code version: Code 1.80.2 (2ccd690cbff1569e4a83d7c43d45101f817401dc, 2023-07-27T20:41:52.615Z)
OS version: Linux x64 6.4.4-200.fc38.x86_64
Modes:
A/B Experiments
The text was updated successfully, but these errors were encountered: