Eclipse's Ctrl+click in Visual Studio?

后端 未结 13 2150
伪装坚强ぢ
伪装坚强ぢ 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:33

    Microsoft released a Visual Studio 2010 extension named "Productivity Power Tools" which now adds Ctrl+Click functionality. So if you're like me, and hate installing third-party addons, you can now have the same functionality!

    0 讨论(0)
  • 2021-01-30 10:37

    I use visual studio 2013 and 2015, I installed Go To Definition. To install this extension navigate on TOOLS -> Extensions and Updates.

    0 讨论(0)
  • 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.

    0 讨论(0)
  • 2021-01-30 10:39

    I prefer to bind Go To Definition to CtrlD. This makes it extremely easy to use either with both hands on the keyboard (CtrlD to go tho the definition of the symbol under the cursor) or one hand on the keyboard and one hand on the mouse (Click on a symbol, then CtrlD).

    0 讨论(0)
  • 2021-01-30 10:41

    If you have Visual Studio 2010 you can use "Go To Definition" by Noah Richards.

    http://visualstudiogallery.msdn.microsoft.com/en-us/4b286b9c-4dd5-416b-b143-e31d36dc622b

    0 讨论(0)
  • 2021-01-30 10:42

    I don't work in VS much, so I haven't used it, but I've heard incredibly good things about Resharper from everyone I know who does. Everyone has told me it's worth every penny, and significantly improves efficiency in Visual Studio. I think it has a feature like what you're looking for, along with a TON of others.

    0 讨论(0)
提交回复
热议问题