Skip to content

Commit

Permalink
[MPQEditor] Implement createFromDefaultExplorer
Browse files Browse the repository at this point in the history
This commit implements createFromDefaultExplorer command for manual mixed precision task.

ONE-vscode-DCO-1.0-Signed-off-by: s.malakhov <s.malakhov@partner.samsung.com>
  • Loading branch information
stamalakhov committed Apr 19, 2023
1 parent 8d8fed5 commit c46b253
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/MPQEditor/MPQEditor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,12 @@ export class MPQEditorProvider implements vscode.CustomTextEditorProvider {
}
),
// Add command registration here
vscode.commands.registerCommand(
"one.editor.mpq.createFromDefaultExplorer",
(uri) => {
MPQEditorProvider.createMPQJson(uri);
}
),
];

registrations.forEach((disposable) =>
Expand Down

0 comments on commit c46b253

Please sign in to comment.