mirror of
https://github.com/hexedtech/codemp-vscode.git
synced 2024-11-22 07:24:49 +01:00
feat: improved commands and tree actions
This commit is contained in:
parent
95b83be800
commit
249f217e91
1 changed files with 34 additions and 12 deletions
46
package.json
46
package.json
|
@ -53,9 +53,13 @@
|
||||||
"view/item/context": [
|
"view/item/context": [
|
||||||
{
|
{
|
||||||
"command": "codemp.join",
|
"command": "codemp.join",
|
||||||
"when": "view == codemp-tree-view",
|
"when": "view == codemp-tree-view && viewItem.type == Workspace",
|
||||||
"group": "inline",
|
"group": "inline"
|
||||||
"icon": "C"
|
},
|
||||||
|
{
|
||||||
|
"command": "codemp.attach",
|
||||||
|
"when": "view == codemp-tree-view && viewItem.type == Buffer",
|
||||||
|
"group": "inline"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
@ -63,39 +67,57 @@
|
||||||
"commands": [
|
"commands": [
|
||||||
{
|
{
|
||||||
"command": "codemp.connect",
|
"command": "codemp.connect",
|
||||||
"title": "Connect to a codemp host"
|
"title": "Connect",
|
||||||
|
"category": "codemp",
|
||||||
|
"icon": "$(extensions-refresh)"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"command": "codemp.join",
|
"command": "codemp.join",
|
||||||
"title": "Join a codemp Workspace if you are allowed"
|
"title": "Join",
|
||||||
|
"category": "codemp",
|
||||||
|
"icon": "$(extensions-refresh)"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"command": "codemp.attach",
|
"command": "codemp.attach",
|
||||||
"title": "Attach to a codemp buffer"
|
"title": "Attach",
|
||||||
|
"category": "codemp",
|
||||||
|
"icon": "$(extensions-refresh)"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"command": "codemp.createWorkspace",
|
"command": "codemp.createWorkspace",
|
||||||
"title": "Create a new Workspace if you are allowed"
|
"title": "Create Workspace",
|
||||||
|
"category": "codemp",
|
||||||
|
"icon": "$(extensions-refresh)"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"command": "codemp.listWorkspaces",
|
"command": "codemp.listWorkspaces",
|
||||||
"title": "List all Workspaces you can join"
|
"title": "List Workspaces",
|
||||||
|
"category": "codemp",
|
||||||
|
"icon": "$(extensions-refresh)"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"command": "codemp.listBuffers",
|
"command": "codemp.listBuffers",
|
||||||
"title": "List all buffers of joined Workspace"
|
"title": "List Buffers",
|
||||||
|
"category": "codemp",
|
||||||
|
"icon": "$(extensions-refresh)"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"command": "codemp.createBuffer",
|
"command": "codemp.createBuffer",
|
||||||
"title": "Create a codemp buffer"
|
"title": "Create Buffer",
|
||||||
|
"category": "codemp",
|
||||||
|
"icon": "$(extensions-refresh)"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"command": "codemp.disconnectBuffer",
|
"command": "codemp.disconnectBuffer",
|
||||||
"title": "disconnect from a codemp Buffer (unused)"
|
"title": "Disconnect Buffer",
|
||||||
|
"category": "codemp",
|
||||||
|
"icon": "$(extensions-refresh)"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"command": "codemp.sync",
|
"command": "codemp.sync",
|
||||||
"title": "Sync the current buffer"
|
"title": "Sync",
|
||||||
|
"category": "codemp",
|
||||||
|
"icon": "$(extensions-refresh)"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"configuration": {
|
"configuration": {
|
||||||
|
|
Loading…
Reference in a new issue