提交 bcdc8caf 编写于 作者: P Pine Wu

Drop duplicate code

上级 73cc9cba
......@@ -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 {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册