This commit is contained in:
Johannes Rieken 2017-05-22 10:29:54 +02:00
parent fd141660a8
commit 2a51ece444
2 changed files with 6 additions and 0 deletions

View file

@ -446,6 +446,7 @@ _seps['/'] = true;
_seps['\\'] = true;
_seps['\''] = true;
_seps['"'] = true;
_seps[':'] = true;
const enum Arrow { Top = 0b1, Diag = 0b10, Left = 0b100 }

View file

@ -320,6 +320,11 @@ suite('Filters', () => {
);
});
test('Fuzzy IntelliSense matching vs Haxe metadata completion, #26995', function () {
assertMatches('f', ':Foo', ':^Foo', fuzzyScore);
assertMatches('f', ':foo', ':^foo', fuzzyScore);
});
function assertTopScore(filter: typeof fuzzyScore, pattern: string, expected: number, ...words: string[]) {
let topScore = -(100 * 10);
let topIdx = 0;