mirror of
https://github.com/hexedtech/codemp-sublime.git
synced 2024-12-23 13:14:52 +01:00
8a67c7ce93
feat: Added single Join command chore: separated input handlers and commands, minor cleanup. Former-commit-id: 29a49bd8dbdeaf24f988e0a382e74d7e14d957a8
66 lines
No EOL
1.6 KiB
Text
66 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: Join",
|
|
"command": "codemp_join",
|
|
"arg": {
|
|
// 'workspace_id': 'asd'
|
|
// 'buffer_id': 'test'
|
|
},
|
|
},
|
|
{
|
|
"caption": "Codemp: Share",
|
|
"command": "codemp_share",
|
|
"arg": {
|
|
// 'sublime_buffer' : /path/to/buffer/to/share
|
|
// 'server_id' : 'how to call the buffer on the server'
|
|
}
|
|
},
|
|
{
|
|
"caption": "Codemp: Join Workspace",
|
|
"command": "codemp_join_workspace",
|
|
"arg": {
|
|
// 'workspace_id' : 'asd'
|
|
},
|
|
},
|
|
{
|
|
"caption": "Codemp: Join buffer",
|
|
"command": "codemp_join_buffer",
|
|
"arg": {
|
|
// 'buffer_id' : 'test'
|
|
},
|
|
},
|
|
{
|
|
"caption": "Codemp: Disconnect Client",
|
|
"command": "codemp_disconnect",
|
|
"arg": {}
|
|
},
|
|
] |