Find method in current file / class in VS2015 / C #

I can use the shortcut Ctrl+,to search for methods, but will search among the whole project:

enter image description here

All classes in all files that have this method are listed here, and I want to search only in the current file, similar Alt+Mto VAssistX. Is there a shortcut for this?

I found Is there an easy way to go directly to the method inside the file? but he is for VS2012, and they only offer Ctrl+For Ctrl+,.

Note. I am looking for true navigation, not Ctrl+F, and only in the current file, unlike Ctrl+,.

+4
source share
2 answers

To expand Matt Shley's answer:

Ctrl + F2 → Tab → , .

, , , - , , , Visual Studio. , .

#. Window.MovetoNavigation

++ Ctrl + F8

+3

, , , , .

Ctrl + F2, , .

+2

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


All Articles