mirror of
https://github.com/Microsoft/vscode
synced 2024-08-28 05:19:39 +00:00
fix: remove unused word distance
Signed-off-by: Chapman Pendery <cpendery@microsoft.com>
This commit is contained in:
parent
42a6be0479
commit
ac0e0ee914
|
@ -27,7 +27,6 @@ export class SimpleCompletionItem {
|
|||
|
||||
// sorting, filtering
|
||||
score: FuzzyScore = FuzzyScore.Default;
|
||||
distance: number = 0;
|
||||
idx?: number;
|
||||
word?: string;
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue