Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'editors/code/src/commands.ts')
-rw-r--r--editors/code/src/commands.ts10
1 files changed, 0 insertions, 10 deletions
diff --git a/editors/code/src/commands.ts b/editors/code/src/commands.ts
index c8b54970a5..70eeab897c 100644
--- a/editors/code/src/commands.ts
+++ b/editors/code/src/commands.ts
@@ -267,16 +267,6 @@ export function openCargoToml(ctx: CtxInit): Cmd {
};
}
-export function openFile(_ctx: CtxInit): Cmd {
- return async (uri: vscode.Uri) => {
- try {
- await vscode.window.showTextDocument(uri);
- } catch (err) {
- await vscode.window.showErrorMessage(err.message);
- }
- };
-}
-
export function revealDependency(ctx: CtxInit): Cmd {
return async (editor: RustEditor) => {
const rootPath = vscode.workspace.workspaceFolders![0].uri.fsPath;