chore: removed activeworkspaces command

there's only one, and it shows a pin next to its name
This commit is contained in:
əlemi 2024-09-25 05:10:33 +02:00
parent 74a5dc2ac0
commit a37f91049b
Signed by: alemi
GPG key ID: A4895B84D311642C
3 changed files with 1 additions and 17 deletions

View file

@ -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",

View file

@ -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");

View file

@ -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),