codemp-sublime/Codemp.sublime-commands
cschen 0a25a5f7c1 Make create buffer and delete buffer, be internal commands. Dealing with the input handlers sheningans is too much.
Also improves the logic in the qpbrowser for the creation and deletion of buffers.
and simplify the logic in the internal commands.
2025-02-18 20:25:26 +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": {}
}
]