codecadwallader / codemaid

CodeMaid is an open source Visual Studio extension to cleanup and simplify our C#, C++, F#, VB, PHP, PowerShell, JSON, XAML, XML, ASP, HTML, CSS, LESS, SCSS, JavaScript and TypeScript coding.
http://www.codemaid.net
GNU Lesser General Public License v3.0
1.92k stars 361 forks source link

Code maid doesn't show spade digger for Decompiled sources #645

Open vinaychandra opened 5 years ago

vinaychandra commented 5 years ago

Environment

Description

Visual studio has experimental decompile sources support. When decompiling such files, spade does not show the correct code structure.

Steps to recreate

  1. Enable Enable navigation to decompiled sources in Text Editor -> C# -> Advanced
  2. Try to decompile any class.
  3. Open the spade window

Current behavior

The spade window just shows the assembly name and no structure

Expected behavior

File structure should be displayed.

image image

codecadwallader commented 5 years ago

Thanks for reporting the issue. This is unfortunately as expected as the VS API we leverage to retrieve the code model does not return results for decompiled sources.

vinaychandra commented 5 years ago

@codecadwallader, Codenav also has a similar functionality but can do this. Can we leverage to enable such functionality in CodeMaid?

codecadwallader commented 5 years ago

It looks like they're leveraging Roslyn (newer VS API) which we are looking to leverage as well but will require a significant rewrite as we've built a lot of code over the years on the older VS APIs.

Mike-Logit commented 2 years ago

I would love this feature too, to read the file and show me the methods available in a class in C# from .NET assembly code.

NickCodesDotNET commented 1 year ago

I would like to weigh in on this too. Being able to "spade" thr assemblies would be awesome! No pressure :) !