You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to access "Find all References", and filter where the results are finding the reference as a Parameter in a method. I want the results programmatically so that I can do more work with them. Is this possible?
I've tried some attempts at doing this, but they were based on finding all the methods by iterating through the projects and types, and that took too long.
Background: I am hoping to build an extension that lets me click on a type, and in the context menu, have "Go To Method Parameter", and then go to a method that has it as a parameter. If it has more than 1 method, a popup would show with the choices. I want this so that I can easily move from an event Type to its handler.
I envision being able to configure it, so that more matching rules can be applied based on the type that was clicked on. An example of this would be that if the clicked Type implements "IEvent", then it would filter for methods with names starting with "Handle".
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I want to access "Find all References", and filter where the results are finding the reference as a Parameter in a method. I want the results programmatically so that I can do more work with them. Is this possible?
I've tried some attempts at doing this, but they were based on finding all the methods by iterating through the projects and types, and that took too long.
Background: I am hoping to build an extension that lets me click on a type, and in the context menu, have "Go To Method Parameter", and then go to a method that has it as a parameter. If it has more than 1 method, a popup would show with the choices. I want this so that I can easily move from an event Type to its handler.
I envision being able to configure it, so that more matching rules can be applied based on the type that was clicked on. An example of this would be that if the clicked Type implements "IEvent", then it would filter for methods with names starting with "Handle".
Thanks, so much!
Beta Was this translation helpful? Give feedback.
All reactions