mirror of
https://github.com/hexedtech/codemp-sublime.git
synced 2024-11-21 14:24:49 +01:00
.gitignore fixes and codemp cargo git dependency
Former-commit-id: 9271a8624685426267982e0a10a98962acddbdd7
This commit is contained in:
parent
1ab1ac36be
commit
7609cecd40
3 changed files with 49 additions and 4 deletions
4
.gitignore
vendored
4
.gitignore
vendored
|
@ -1,5 +1,5 @@
|
|||
/target
|
||||
/ext/codemp_client/*
|
||||
test.py
|
||||
|
||||
# Byte-compiled / optimized / DLL files
|
||||
__pycache__/
|
||||
|
@ -10,8 +10,8 @@ __pycache__/
|
|||
*.lock
|
||||
|
||||
#sublime
|
||||
*.sublime-commands
|
||||
*.sublime-project
|
||||
*.sublime-workspace
|
||||
|
||||
# Distribution / packaging
|
||||
.Python
|
||||
|
|
|
@ -9,10 +9,10 @@ name = "codemp_client"
|
|||
crate-type = ["cdylib"]
|
||||
|
||||
[dependencies]
|
||||
codemp = { path = "./ext/codemp" }
|
||||
codemp = { git = "ssh://git@github.com/codewithotherpeopleandchangenamelater/codemp.git", tag = "v0.3" }
|
||||
pyo3 = { version = "0.19", features = ["extension-module"] }
|
||||
pyo3-asyncio = { version = "0.19", features = ["tokio-runtime"] }
|
||||
tokio = "1.29.1"
|
||||
|
||||
[build-dependencies]
|
||||
pyo3-build-config = "0.19.2"
|
||||
pyo3-build-config = "0.19.2"
|
||||
|
|
45
Codemp.sublime-commands
Normal file
45
Codemp.sublime-commands
Normal file
|
@ -0,0 +1,45 @@
|
|||
[
|
||||
{ "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: Connect",
|
||||
// # on_window_command, does not trigger when called from the command palette
|
||||
// # See: https://github.com/sublimehq/sublime_text/issues/2234
|
||||
"command": "proxy_codemp_connect",
|
||||
"args": {
|
||||
// "server_host": "http://[::1]:50051"
|
||||
}
|
||||
},
|
||||
{
|
||||
"caption": "Codemp: Share",
|
||||
"command": "proxy_codemp_share",
|
||||
"arg": {
|
||||
//
|
||||
}
|
||||
},
|
||||
{
|
||||
"caption": "Codemp: Join",
|
||||
"command": "proxy_codemp_join",
|
||||
"arg": {
|
||||
//
|
||||
}
|
||||
},
|
||||
]
|
Loading…
Reference in a new issue