-
-
Notifications
You must be signed in to change notification settings - Fork 223
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Command Palette – Add incremental search (with C# source code) #1680
Comments
Thank you for the code sample |
Hi Steven To have an option "Search mode" with "incremental match" vs. "exact match" would be best/great. BUT its not about like/dislike -- First I hated this search, step by step I had to understand the inner force. |
BTW: Visual Studio 2022 uses also "incremental search" for their command palette [Ctrl+Shift+P] |
Overview
OneMore provides the great feature "command palette" (thanks for implementing it!).
Every product providing such a command palette (e.g. VSCode, products on Web/macOS/Linux/Windows) implements incremental search instead of strict search for the command palette (have never seen anything different, except OneMore).
Below a description and working C# source code.
PS: Improved & corrected feature request for #1677
Incremental search - DESCRIPTION
Allows you to find commands even if your input only partially matches the command names
Sample entry: ‘Open File Word’
• Match: o
• Match: f
• Match: w
• Match: ofw
• Match: open wo
• Match: open fi wo
etc.
Incremental search - SOURCE CODE (C# source code for NETFramework 4.x console app)
Note
Hope with this C# source code it is worth the climb :-)
Program.cs
Command.cs
CharacterSearch.cs
The text was updated successfully, but these errors were encountered: