Alex Rivera | Logout

VS Intellisense: can you hide extension methods?

Asked 2009-03-18T09:43:26.887
16

By default Visual Studio displays all members and its extension methods for a type in intellisense.

Sometimes I would like to hide the extension methods to make it easier to find the member I am actually looking for (especially when using Linq).

Is there a shortcut or another way to display only the members of a type in intellisense?

Edit
Report

1 Answer

2

In theory you could do this with the appropriate decorator attribute*, but googling this it seems it's bugged, with the fix awaiting a service pack presumably.

* [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]

answered 2009-03-18T09:51:11.627

Your Answer