Eclipse's Ctrl+click in Visual Studio?

后端 未结 13 2183
伪装坚强ぢ
伪装坚强ぢ 2021-01-30 09:40

After working for a few days with Eclipse Java I totally got addicted to pressing Ctrl and clicking on an identifier to go to its definition. Since then I\'ve been lo

13条回答
  •  夕颜
    夕颜 (楼主)
    2021-01-30 10:37

    Another option with VS (besides F12 and right-click > Go to Def) is add the code definition pane (View > Code Def Window). This is essentially another editing pane that shows the code for the current symbol - no need to Ctrl-click or anything. I keep it pinned to my secondary monitor. Any time I need to see the implementation for a symbol I just click it and look over.

    Another nice thing about F12 is you can also do ShiftF12 to find references to a symbol and F8 through them. The two go together like love and happiness.

提交回复
热议问题