codemp-sublime/Codemp.sublime-commands
cschen ce87c5334d made create and delete workspaces as internal commands as well.
Fixed the same issues that the workspace browser had for the creation and deletion also in
the server browser.
2025-02-18 22:36:14 +01:00

118 lines
No EOL
2.7 KiB
Text

[
{ "caption": "Preferences: Codemp Client Settings",
"command": "edit_settings",
"args": {
"base_file": "${packages}/CodempClient/CodempClient.sublime-settings",
"default": "{\n\t$0\n}\n"
}
},
{ "caption": "Preferences: Codemp Client Key Bindings",
"command": "edit_settings",
"args": {
"base_file": "${packages}/CodempClient/Default (${platform}).sublime-keymap",
"default": "[\n\t$0\n]\n"
}
},
// { "caption": "Codemp: Open Readme",
// "command": "open_file",
// "args": {
// "file": "${packages}/CodempClient/README.md"
// }
// },
{
"caption": "Codemp: Browse Server",
"command": "codemp_browse_server",
"args": {}
},
{
"caption": "Codemp: Browse Workspace",
"command": "codemp_browse_workspace",
"args": {}
},
{
// # on_window_command, does not trigger when called from the command palette
// # See: https://github.com/sublimehq/sublime_text/issues/2234
"caption": "Codemp: Connect",
"command": "codemp_connect",
"args": {}
},
{
"caption": "Codemp: Disconnect Client",
"command": "codemp_disconnect",
"args": {}
},
{
"caption": "Codemp: Join Workspace",
"command": "codemp_join_workspace",
"args": {
// 'workspace_id': 'asd'
// 'buffer_id': 'test'
},
},
{
"caption": "Codemp: Leave Workspace",
"command": "codemp_leave_workspace",
"args": {
// "id": 'lmaaaao'
}
},
{
"caption": "Codemp: Invite To Workspace",
"command": "codemp_invite_to_workspace",
"args": {
// "id": 'lmaaaao'
// "user": 'lupo'
}
},
// {
// "caption": "Codemp: Create Workspace",
// "command": "codemp_create_workspace",
// "args": {
// // "id": 'lmaaaao'
// }
// },
// {
// "caption": "Codemp: Delete Workspace",
// "command": "codemp_delete_workspace",
// "args": {
// // "id": 'lmaaaao'
// }
// },
{
"caption": "Codemp: Join Buffer",
"command": "codemp_join_buffer",
"args": {
// 'workspace_id': 'asd'
// 'buffer_id': 'test'
},
},
{
"caption": "Codemp: Leave Buffer",
"command": "codemp_leave_buffer",
"args": {
// 'workspace_id': 'asd'
// 'buffer_id': 'test'
}
},
// {
// "caption": "Codemp: Create Buffer",
// "command": "codemp_create_buffer",
// "args": {
// // 'workspace_id': 'asd'
// // 'buffer_id': 'test'
// }
// },
// {
// "caption": "Codemp: Delete Buffer",
// "command": "codemp_delete_buffer",
// "args": {
// // 'workspace_id': 'asd'
// // 'buffer_id': 'test'
// }
// },
{
"caption": "Codemp: Sync",
"command": "codemp_sync_buffer",
"args": {}
}
]