codemp-vscode/README.md

71 lines
2.4 KiB
Markdown
Raw Normal View History

2024-09-06 12:37:28 +02:00
[![codemp](https://codemp.dev/static/banner.png)](https://codemp.dev)
2022-09-14 12:13:48 +02:00
2024-09-06 12:37:28 +02:00
> `codemp` is a **collaborative** text editing solution to work remotely.
It seamlessly integrates in your editor providing remote cursors and instant text synchronization,
as well as a remote virtual workspace for you and your team.
# codemp-vscode
This is the reference codemp [vscode](https://code.visualstudio.com/) plugin maintained by [hexedtech](https://hexed.technology)
# installation
2024-09-06 16:17:03 +02:00
> [!WARNING]
> As of now we only provide a x64 linux preview build
Beta builds are not available on VSCode marketplace and must be installed directly via `.vsix`.
Grab the current codemp build for your platform under [last release's assets](https://github.com/hexedtech/codemp-vscode/releases).
Install it directly in VSCode:
* open the "Extensions" tab on the side menu
* press the three dots to "view more actions" in the panel header
* select "Install from VSIX..." and load downloaded file
Done! Configure your credentials in settings (search for "codemp") and start with `connect` command!
2024-09-06 12:37:28 +02:00
# usage
Interact with this plugin using the `codemp` command.
| command | description |
| --- | --- |
| `codemp.connect ` | to connect to server using server ip, username and password from your config file |
once connected, more commands become available:
| command | description |
| --- | --- |
| `codemp.join <workspace>` | will join requested workspace; starts processing cursors and users |
| `codemp.createWorkspace <workspace>` | will create a new workspace with given name |
| `codemp.listWorkspaces` | list all workspaces available to join |
after a workspace is joined, more commands become available:
| command | description |
| --- | --- |
| `codemp.attach <buffer>` | will attach to requested buffer if it exists|
| `codemp.createBuffer <bufname>` | will create a new empty buffer in workspace |
| `codemp.listBuffers` | will list all available buffers in workspace |
| `codemp.sync` | forces resynchronization of current buffer |
### quick start
* first connect to server with `codemp.connect`
* then join a workspace with `codemp.join <workspace>`
* either attach directly to a buffer with `codemp.attach <buffer>` or browse available buffers with `codemp.listBuffers`
## example configuration (settings.json)
```
"codemp-vscode": {
"server" : "http://codemp.dev:50053",
"username" : "test@codemp.dev",
"password" : "test"
}
```
2022-09-14 12:13:48 +02:00