fix: remove unused word distance

Signed-off-by: Chapman Pendery <cpendery@microsoft.com>
This commit is contained in:
Chapman Pendery 2024-03-22 23:12:36 -07:00
parent 42a6be0479
commit ac0e0ee914
2 changed files with 0 additions and 3 deletions

View file

@ -27,7 +27,6 @@ export class SimpleCompletionItem {
// sorting, filtering
score: FuzzyScore = FuzzyScore.Default;
distance: number = 0;
idx?: number;
word?: string;

View file

@ -174,8 +174,6 @@ export class SimpleCompletionModel {
}
item.idx = i;
// TODO: Word distance
item.distance = 1;//this._wordDistance.distance(item.position, item.completion);
target.push(item);
// update stats