Search code examples
c#visual-studiounity-game-engineintellisensemonodevelop

Possible to sort Visual Studio Community Intellisense suggestions by class?


I'm a Unity developer and just made the jump from Monodevelop to Visual Studio Community. Overall Visual Studio Community is a huge improvement but there is one thing I miss that Monodevelop did better: With Monodevelop's auto-completion, it would always sort the functions / variables by class. With VSC, it just shows every possible conclusion in alphabetical order, including all class and base class methods and properties.

So, in the example shown here, if I start by typing "PauseManager." in Monodevelop, it will show autocomplete suggestions first for PauseManager, and then below that for it's base class System.Object.

Monodevelop

However when I type the same thing in Visual Studio, it will show me a huge list of methods and properties in alphabetical order, the majority of which I'm unlikely to be using.

Visual Studio

This is a very simple example of a small class with only one ancestor; you can imagine that this gets especially unwieldy when I've got a class with a dozen public methods and multiple ancestors, each of which have their own public methods and properties.

I've looked at the documentation for Intellisense here: https://code.visualstudio.com/docs/editor/intellisense and I don't see any options for what I'm trying to accomplish.

Does anyone know of a way that this can be done? If not I may have to reluctantly go back to Monodevelop - looking through all these methods to sort out the ones relevant to what I'm doing it turning into an annoying little time waster.


Solution

  • Nope, apparently it is not possible currently.

    There was an issue/feature request but they closed it 5 months ago with kind of "won't do" as answer. They linked it to a "duplicate" issue though I honestly don't really see that as a duplicate ...

    Maybe you can search for plugins but built-in it seems not possible currently .. what is a pity because now that I know it exists somewhere I also miss it a bit :'D