Default to default behavior
This commit is contained in:
6
build.this.garbage
Normal file
6
build.this.garbage
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
vsce package --no-dependencies
|
||||||
|
hit y like 14 times
|
||||||
|
will make vsix
|
||||||
|
then import via command shell bullshit thing in vscode
|
||||||
|
bam done
|
||||||
|
and reload
|
Binary file not shown.
@@ -30,15 +30,7 @@ export function activate(context: vscode.ExtensionContext) {
|
|||||||
editBuilder.delete(range);
|
editBuilder.delete(range);
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
if (positionOffset > 0) {
|
await vscode.commands.executeCommand('deleteLeft');
|
||||||
const fallbackRange = new vscode.Range(
|
|
||||||
document.positionAt(positionOffset - 1),
|
|
||||||
document.positionAt(positionOffset)
|
|
||||||
);
|
|
||||||
editor.edit((editBuilder) => {
|
|
||||||
editBuilder.delete(fallbackRange);
|
|
||||||
});
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
context.subscriptions.push(disposable);
|
context.subscriptions.push(disposable);
|
||||||
|
Reference in New Issue
Block a user