mirror of
https://github.com/Microsoft/vscode
synced 2024-09-19 02:26:04 +00:00
parent
37981d8fd5
commit
606987ec3d
|
@ -554,7 +554,8 @@ export class DebugSession implements IDebugSession {
|
||||||
insertText: item.text || item.label,
|
insertText: item.text || item.label,
|
||||||
kind: completionKindFromString(item.type || 'property'),
|
kind: completionKindFromString(item.type || 'property'),
|
||||||
filterText: (item.start && item.length) ? text.substr(item.start, item.length).concat(item.label) : undefined,
|
filterText: (item.start && item.length) ? text.substr(item.start, item.length).concat(item.label) : undefined,
|
||||||
range: Range.fromPositions(position.delta(0, -(item.length || overwriteBefore)), position)
|
range: Range.fromPositions(position.delta(0, -(item.length || overwriteBefore)), position),
|
||||||
|
sortText: item.sortText
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue