This repository has been archived by the owner on Apr 1, 2020. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add VSCode QuickOpen Scoring/Sorting (#2009)
* Add VSCode files for now. * Hook up to current regex method. * Fix or ignore lint issues. * Swap to using scoreItem and add Oni wrapper. * Hook up highlighting to VSCode results. Had to remove test for now. * Fix lint. * Split across multiple files. * Changes for linting. * Run lint tool. * Potential fix for filtering issue. * Add back pinned option. * Removed extra info so tests pass again. * Test with using scorer only. If the score is 0, we can just exclude it, so seems pointless to do the regex and then that. Will need to implement the filtering some other way though. * Enable sorting with fuzzy finder. * Added back fallback comparer. * Fix lint. * Make naming consistent. * Bring in updated oni-api. * Swap to a separate filter. Bring back tests for RegEx filter. * Fix bug with filtering. * Bring over all the regex tests. Converted to check highlights and score now too. * Add score test. * Added additional test. * Added two tests for length. * Remove replace and fallback. Convert string was needed to deal with the regex, but since this is its own scorer it isn't needed. Swapping to the default fallback fixes file length sorting when scores match. * Tidy up files. * Add test for search with file extension. * Swap default.
- Loading branch information