Roslyn Intellisense

Using the WPF Editor and Roslyn, is it still possible to sort the IntelliSense entries? I’d like the items from our own assemblies to be listed first. I found an old post but the example link is broken and I’m not sure if it would still apply.

Please take a look at our WPF QuickStart CodeCompletion demo (SyntaxEdit1_NeedCodeCompletion method).

Please note that edit.CodeCompletionBox.Sorted should be set to false if you’d like your members to appear first.

Calling InsertListMember(0) allows you to place your custom items at the top of the list.