Vector35 / Vector35/binaryninja-api

Command palette matching improvements

Open
#4,277 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Component: UI Effort: Trivial Impact: Low UI: Command Palette
Dominant language
C++
Stars
1.3k
Forks
298
Avg merge
5d 5h
Merged PRs (30d)
19

Description

Version and Platform (required):

  • Binary Ninja Version: 3.4.4268
  • OS: Ubuntu
  • OS Version: 22.04
  • CPU Architecture: x64

Bug Description:
String matching in the command palette doesn't work as well as it should

Steps To Reproduce:
Please provide all steps required to reproduce the behavior:

  1. Open command palette
  2. Type "reopen"
  3. Notice somehow "Clear Recent Open with Options" is above "Restart Binary Ninja and Reopen Files" (even restart+reopen was already used)

Expected Behavior:
Show commands containing exact substring matches first

Screenshots:
If applicable, please add screenshots here to help explain your problem.
image

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the command palette matching implementation and reproduce the issue by searching for "reopen" on Ubuntu. Compare the ranking of "Clear Recent Open with Options" and "Restart Binary Ninja and Reopen Files"; done means exact substring matches appear before weaker matches.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.