-3

I want to know that is their any way to list all the functions names that are written in my c# .cs code in visual studio 2013. I know that if I know function names than by using peek definition or using f12, I can jump to that function definition, but what about the case when my code file contains number of function and I have to list all function declaration list so that I can easily search to function I am looking at and jump to its definition in visual studio 2013.

For Example- Suppose i have written a c# code(Code length > 4000 lines) that contains multiple method names and if i save my file and after sometime i again open it. Now this time forgot the name of my method then, is their any way i can list all the function declaration of that file in visual studio 2013, so that i can easily jump to that function.

Plz let me know!

Lance U. Matthews
  • 15,725
  • 6
  • 48
  • 68
theburningfire
  • 481
  • 1
  • 4
  • 20
  • 1
    https://stackoverflow.com/questions/2819519/visual-studio-window-which-shows-list-of-methods –  Aug 28 '18 at 02:39
  • As @MickyD's link notes, there's already drop-down lists at the top of the code editor window that let you browse a list of members. If you have multiple classes in the same file you'll need to select which one to browse, but otherwise functionality close to what you're looking to do is already built in to Visual Studio. The Object Browser would be another way to do the same thing. – Lance U. Matthews Aug 28 '18 at 02:46
  • 1
    [Visual Studio 2012: List of all Methods in class](https://stackoverflow.com/questions/13904806/visual-studio-2012-list-of-all-methods-in-class) is another (near-)duplicate. – Lance U. Matthews Aug 28 '18 at 02:52

1 Answers1

0

There is a drop down box in the navigation bar just above the text editor in the upper right that lists the methods in the current file. See this answer for more info.