Reputation: 6259
As a java developer, I am required to work on C# .
I am familiar with Eclipse IDE. In the MS Visual Studio 2010 Ultimate, how to do the similar ?
If I use F12 to see the difinition, then how can I go back to the original file ?
For an interface, how can I see all classes implementing this interface or method ? In the Eclipse, we just use CTRL+K.
Upvotes: 6
Views: 176
Reputation: 216333
Not sure for the second request however:
CTRL+-
go back to the previous positionCTRL+K, R
find all referencesUpvotes: 2
Reputation: 1857
For the first one, F12 will take you to the definition...where as Ctrl + - (minus) ....will take you back to where you were before...
As other ppl mentioned the second case is not supported... Here is a list of Pre-Defined keyboard shorcuts for Visual Studio 2010...that can be useful to you...
Upvotes: 0
Reputation: 17139
1) If your mouse has a "Back" thumb button, you can typically use that to navigate backwards. Otherwise, bind a keyboard shortcut to "View.NavigateBackward" (Edit: The default key binding is Ctrl + -). Or click this button:
2) This isn't possible without an extension of some kind, Visual Studio doesn't support this out of the box. The best you could do is "Find All References" on the interface, and the results of that should include every class that implements that interface.
Upvotes: 4
Reputation: 2771
After hitting F12 and naviating to the function definition, you can use Ctrl+TabKey to go back the source file.
Moreover, for a detailed list of keyboard shortcuts of VS 2010 see this list.
Upvotes: 0
Reputation: 416111
Upvotes: 1