codemp-sublime/Codemp.sublime-commands
cschen abc976e3e5 feat: added leave buffer command.
feat: new generic input handler for sequence of text inputs with defaults.
chore: minor fixes and improvements

Former-commit-id: 73ea017903fd717d894092871b7b62f827df4ff2
2024-08-24 18:45:42 +02:00

67 lines
No EOL
1.6 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"
}
},
{
// # 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": {
// "server_host": "http://[::1]:50051"
}
},
{
"caption": "Codemp: Disconnect Client",
"command": "codemp_disconnect",
"arg": {}
},
{
"caption": "Codemp: Join Workspace",
"command": "codemp_join_workspace",
"arg": {
// 'workspace_id': 'asd'
// 'buffer_id': 'test'
},
},
{
"caption": "Codemp: Leave Workspace",
"command": "codemp_leave_workspace",
"arg": {
// "id": 'lmaaaao'
}
},
{
"caption": "Codemp: Join Buffer",
"command": "codemp_join_buffer",
"arg": {
// 'workspace_id': 'asd'
// 'buffer_id': 'test'
},
},
{
"caption": "Codemp: Leave Buffer",
"command": "codemp_leave_buffer",
"arg": {
// 'workspace_id': 'asd'
// 'buffer_id': 'test'
}
},
]