mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-25 04:36:23 +00:00
Drop duplicate code
This commit is contained in:
@@ -61,10 +61,6 @@ export function activate(context: ExtensionContext) {
|
||||
type: (item.documentation as string)
|
||||
};
|
||||
}
|
||||
const range = item.range;
|
||||
if (range instanceof Range && range.end.isAfter(position) && range.start.isBeforeOrEqual(position)) {
|
||||
item.range = { inserting: new Range(range.start, position), replacing: range };
|
||||
}
|
||||
}
|
||||
// testing the new completion
|
||||
function updateProposals(r: CompletionItem[] | CompletionList | null | undefined): CompletionItem[] | CompletionList | null | undefined {
|
||||
|
||||
Reference in New Issue
Block a user