Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual studio List of method names in a class

I know of the drop down list that SHOWS all the methods among many other things in a class but I am making a flow chart and for that I need a list as in text of all the methods in a class. How can I get this list because currently I am copy pasting manually the method names into a list which is so troublesome as I have 600ish methods...

like image 302
Bulvak Avatar asked May 09 '12 15:05

Bulvak


People also ask

How do I list all methods in visual studio?

Save this answer. Show activity on this post. In Visual Studio 2015, View > Other Windows > Resource View. The keyboard shortcut is Ctrl + Shift + E .

How do you see methods in VS code?

On Windows and Linux it's set to CTRL + Shift + O by default. If this command isn't available for the file types you are working with then you should take a look at the VSCode extensions. Not all languages support this feature.


1 Answers

Use Visual Studio's Refactor menu, and choose Extract Interface. Refactor->Extract Interface on MSDN for Visual Studio 2008.

enter image description here

Click button Select All, and click button OK. This will create a new file in your project for you. enter image description here

You can then copy and paste as you need.

enter image description here

Be sure to go back to your class and remove the interface implementation code.

like image 142
p.campbell Avatar answered Oct 18 '22 12:10

p.campbell