Skip to content
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

Improve "Detect Moved Code" file <select> search filtering #100

Open
fekblom opened this issue Dec 22, 2015 · 0 comments
Open

Improve "Detect Moved Code" file <select> search filtering #100

fekblom opened this issue Dec 22, 2015 · 0 comments

Comments

@fekblom
Copy link
Contributor

fekblom commented Dec 22, 2015

The library used for adding the search functionality to the <select> list, chosen.js, does prefix matching per word. This makes it really tricky to find a file by name since the file path is just one long "word".

For example, in the list:

  • long/path/to/file.cc
  • another/really/long/path/to/some/otherfile.cc

Searching for 'file' will give no matches. I would like for it to find at least 'file.cc' or possibly all entries for which the query string is an infix match of the file component part of the path (in this example both items of the list).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant