MS ID for Visual Studio IDE

As a java developer, I need to work in C #.

I am familiar with the Eclipse IDE. In MS Visual Studio 2010 Ultimate, how to do this?

  • If I use F12 to see it, then how can I go back to the original file?

  • For an interface, how can I see all the classes implementing this interface or method? In Eclipse, we just use CTRL + K.

+6
source share
5 answers

1) If your mouse has a back button, you can use it to move back. Otherwise, bind the keyboard shortcut to "View.NavigateBackward" (Edit: default binding is Ctrl + - ). Or click this button:

I1DGe.png

2) This is not possible without any kind of extension; Visual Studio does not support this out of the box. The best you can do is find all links on an interface, and the results of this should include every class that implements this interface.

+4
source

Not sure if for the second request:

  • CTRL+- return to the previous position
  • CTRL+K, R find all links
+2
source
  • Right-click, "Go to Definition"
  • It is not supported because it is a bad function that leads to errors. You should not use it. Cause? It is likely that important projects that have types that implement the interface will not be loaded, and therefore this will lead to a false understanding that you have affected each artist. In most cases, when you want to do this, you are looking in the wrong direction at your inheritance tree.
+1
source

After pressing F12 and proceeding to the definition of the function, you can use Ctrl + TabKey to return the original file.

Also, for a detailed list of VS 2010 shortcut keys, see this list .

0
source

For the first, F12 will take you to the definition ... where Ctrl + - (minus) .... will return you to where you were before ...

As mentioned in other ppls, the second case is not supported ... Here is a list of Pre-configured keyboard shorcuts for Visual Studio 2010 ... which may be useful to you ...

0
source

Source: https://habr.com/ru/post/914034/


All Articles