mirror of
https://github.com/hexedtech/codemp-sublime.git
synced 2024-11-22 06:44:48 +01:00
dd5f8cdf92
Former-commit-id: 6c4c5761b8b810be24ce8c3d1c0f9f2d8a45e1b4
60 lines
No EOL
1.5 KiB
Text
60 lines
No EOL
1.5 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"
|
|
// 'session' : 'default' (the name of the workspace to join)
|
|
}
|
|
},
|
|
{
|
|
"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",
|
|
"command": "codemp_join",
|
|
"arg": {
|
|
// 'server_buffer' : 'test'
|
|
},
|
|
},
|
|
{
|
|
"caption": "Codemp: Disconnect Buffer",
|
|
"command": "codemp_disconnect_buffer",
|
|
"arg": {
|
|
// 'remote_name' : 'name of buffer to disconnect'
|
|
}
|
|
},
|
|
{
|
|
"caption": "Codemp: Disconnect Client",
|
|
"command": "codemp_disconnect",
|
|
"arg": {
|
|
}
|
|
},
|
|
] |