Intellisense filter?
Is there anyway to filter intellisense based on events, properties methods? In other words, lets say I know i'm looking for a property in an object, I'd like to view only properties and not everything through intellisense... is this possible?
[251 byte] By [
Blast] at [2007-12-24]
Blast,
It's not currently possible in VS 2005 to filter (or sort) the IntelliSense completion list. There are a few strategies to get this informaiton from VS, though they do take you away from the editor. For examle, you can use Class View, right-click on the member pane, and select "Group By Member Type." Then when you find yourself asking "what are all the events on Button" or a similar question, you can use the search pane and filter down the Class View list. If you're using the Visual C# Develolpment Settings then you can use "Ctrl+K, Ctrl+V" to navigate directly to the Class View serach combobox, type the name, and hit <enter> to get back the result. <Tab> will take you to the bottom pane and Ctrl+Tab can get you back to the file that you were editing.
Hope that helps!
Anson Horton
Visual C# IDE PM
The Whole Tomato Visual Assist add in supports this behavior, but to be honest it's designed for c++ so it's occasionally wonky
with c#, mostly in asp stuff, but it's still wonky. Maybe one of the c# dedicated addins supports this too?
Cal-
I have the exact requirement, it is annoying to move the cursor where you are typing to handle the class explorer. Microsoft C# team must consider this feature, I guess a simple survey will support this.