mirror of
https://github.com/hexedtech/codemp-vscode.git
synced 2024-12-23 05:54:51 +01:00
chore: removed activeworkspaces command
there's only one, and it shows a pin next to its name
This commit is contained in:
parent
74a5dc2ac0
commit
a37f91049b
3 changed files with 1 additions and 17 deletions
|
@ -138,12 +138,6 @@
|
|||
"category": "codemp",
|
||||
"icon": "$(extensions-view-icon)"
|
||||
},
|
||||
{
|
||||
"command": "codemp.activeWorkspaces",
|
||||
"title": "Active Workspaces",
|
||||
"category": "codemp",
|
||||
"icon": "$(extensions-view-icon)"
|
||||
},
|
||||
{
|
||||
"command": "codemp.leaveWorkspace",
|
||||
"title": "Leave Workspace",
|
||||
|
@ -239,4 +233,4 @@
|
|||
"dependencies": {
|
||||
"codemp": "^0.7.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -389,15 +389,6 @@ export async function leaveWorkspace() {
|
|||
provider.refresh();
|
||||
}
|
||||
|
||||
export async function activeWorkspaces() {
|
||||
if(client===null){
|
||||
vscode.window.showWarningMessage("Connect first");
|
||||
return;
|
||||
}
|
||||
workspace_list = await client.active_workspaces();
|
||||
provider.refresh();
|
||||
}
|
||||
|
||||
export async function refresh() {
|
||||
if(client===null){
|
||||
vscode.window.showWarningMessage("Connect first");
|
||||
|
|
|
@ -34,7 +34,6 @@ export function activate(context: vscode.ExtensionContext) {
|
|||
vscode.commands.registerCommand('codemp.createWorkspace', commands.createWorkspace),
|
||||
vscode.commands.registerCommand('codemp.inviteWorkspace', commands.inviteToWorkspace),
|
||||
vscode.commands.registerCommand('codemp.listWorkspaces', commands.listWorkspaces),
|
||||
vscode.commands.registerCommand('codemp.activeWorkspaces', commands.activeWorkspaces),
|
||||
vscode.commands.registerCommand('codemp.leaveWorkspace', commands.leaveWorkspace),
|
||||
vscode.commands.registerCommand('codemp.createBuffer', commands.createBuffer),
|
||||
vscode.commands.registerCommand('codemp.listBuffers', commands.listBuffers),
|
||||
|
|
Loading…
Reference in a new issue