vscode-csharp
vscode-csharp copied to clipboard
Go to the implementation of an interface when decompiling source code
VS Code version: 1.61.1 C# Extension version: 1.23.16
Currently during decompiling the source, when hitting F12, if it's a method on an interface, it just jumps to the method definition on that interface. This doesn't really help much. Especially now there are a lot dependency injection in practice, this is the case almost every time. Can it please offer us jumping to the implementation please, if there are multiple implementations, let us choose one? This is a basic function with the modern programming tech, but so desired. ☺️
Hi @cateyes99, this functionality exists today in the C# extension. In Windows you can press ctrl+F12 (and on MacOS cmd+F12) to go to implementation. The option is even available when you right-click an interface or abstract type.
@JoeRobich sorry, i think you missed my point. I meant that feature in decompiling source code
, not in my own source code . I believe the decompiling functionality is essentially provided by ILSpy.
@JoeRobich any news on this? For us the issue arises when debugging and stepping through code that uses interfaces that are implemented in external code.
This would be an enormous time saver and really appreciated!