mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 21:09:43 +00:00
fix #26995
This commit is contained in:
parent
fd141660a8
commit
2a51ece444
|
@ -446,6 +446,7 @@ _seps['/'] = true;
|
|||
_seps['\\'] = true;
|
||||
_seps['\''] = true;
|
||||
_seps['"'] = true;
|
||||
_seps[':'] = true;
|
||||
|
||||
const enum Arrow { Top = 0b1, Diag = 0b10, Left = 0b100 }
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue