vscode-csharp icon indicating copy to clipboard operation
vscode-csharp copied to clipboard

Go to definition for non-source symbol shows MAS, not decompilation

Open mikadumont opened this issue 2 years ago • 3 comments

C# Extension Version: C# Dev Kit Extension Version:

Steps to reproduce:

  1. Open OrchardCore, BackgroundTaskScheduler.cs
  2. Navigate to definition on CrontabSchedule.Parse (line 41)

In VS this shows a decompilation: image

In C# Dev Kit this shows MAS: image

mikadumont avatar Jun 08 '23 20:06 mikadumont

When can we get this fixed? The lack of decomplication is the biggest blocker for us to adopt the new C# extension. It makes it very inefficient to navigate into library code.

fh-yuxiao-zeng avatar Sep 01 '23 00:09 fh-yuxiao-zeng

@fh-yuxiao-zeng I agree. As a workaround, to properly navigate to project references, I have to temporarily

  1. Disable the "C# Dev Kit" plugin. Which disables dependant plugins (MAUI). (reload required)
  2. Right-click "Go To Definition", navigate to the source file as expected, then complete the task.
  3. When done, re-enable the "C# Dev Kit" plugin and the dependant plugins. (reload required)

This applies to all Project References

DaveMcCrady avatar Oct 04 '23 20:10 DaveMcCrady

This would be very useful for me, as I'm using Unity, and I regularly need to figure out how something is implemented.

Number-3434 avatar Feb 14 '24 11:02 Number-3434