Go to implemented method rather than interface

后端 未结 5 1153
礼貌的吻别
礼貌的吻别 2021-02-14 13:24

Oftentimes when browsing code, I\'ll come across something like this:

public class Fruity
{
    private IOrange _Orange;

    public Fruity()
    {
        _Oran         


        
5条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-02-14 14:02

    If you double-click or highlight Peel and press CTRL+, you'll get the "navigate to symbol" window which will list the actual implementation, usually as the second item. It's about the fastest way of finding it without 3rd party tools. And unlike "find all references", it only shows the method definitions and not wherever it's called.

提交回复
热议问题