Completion list -- matching most frequently used item with the current prefix

SyntaxEditor for WPF Forum

Posted 6 years ago by Emil Stefanov
Version: 13.1.0581
Avatar

Is there a way to match the most frequently completed items first like in visual studio? I guess if it isn't available, maybe it's doable by implementing a custom matching algorithm?

 

Thanks,
Emil

Comments (2)

Posted 6 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hi Emil,

Sorry but we don't have any functionality for that at this time.  Yes you'd need to maintain a dictionary of what was typed and what was matched and then have a custom ICompletionItemMatcher that uses that information be injected to the start of the CompletionSession.ItemMatchers collection.


Actipro Software Support

Posted 6 years ago by Emil Stefanov
Avatar

OK, I was just wondering. It seems easy to implement myself.

 

Thanks,
Emil

The latest build of this product (v2019.1 build 0683) was released 1 month ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.