Commit graph

131 commits

Author SHA1 Message Date
cschen
9b4d082f78 feat: addd the "share current buffer" command 2025-02-22 19:40:05 +01:00
cschen
e7a3f7f367 fix: clearer creation of virtual workspaces and buffers.
fix: fix messages formatting
fix: handle workspaces without buffers when attaching
fix: workspave lookupparent
feat: initial setup to support local views
2025-02-22 19:39:32 +01:00
cschen
b79e25748c fix: properly reraise the exception from browser 2025-02-22 19:35:17 +01:00
cschen
f4b16f1367 fix whole buffer selection upon attach. 2025-02-22 19:34:57 +01:00
cschen
4c64797ab9 fix join buffer input handlers 2025-02-19 15:57:57 +01:00
cschen
ce87c5334d made create and delete workspaces as internal commands as well.
Fixed the same issues that the workspace browser had for the creation and deletion also in
the server browser.
2025-02-18 22:36:14 +01:00
cschen
164c60103b fixed the qpbrowser, now creation and deletion work as intended. 2025-02-18 21:17:32 +01:00
cschen
6f6c912bf0 i'm dumb, and i was wondering why the LOGGER was not printing messages... 2025-02-18 21:17:13 +01:00
cschen
0a25a5f7c1 Make create buffer and delete buffer, be internal commands. Dealing with the input handlers sheningans is too much.
Also improves the logic in the qpbrowser for the creation and deletion of buffers.
and simplify the logic in the internal commands.
2025-02-18 20:25:26 +01:00
cschen
8dc6a96bde fixed the back button for the workspace browser 2025-02-17 23:34:50 +01:00
cschen
086ff46c1b add comment for the fucking sublime crashing voodoo, I have no idea... 2025-02-17 23:34:38 +01:00
cschen
756a2d7af3 added debug message on successfull workspace leave. 2025-02-17 23:34:18 +01:00
cschen
6ca6661eb6 fixed README 2025-02-17 23:34:02 +01:00
cschen
ae89780d6e adds message on successfull detachment. 2025-02-17 22:59:05 +01:00
cschen
6fe34f7bdb Revert "remove the timeout async call"
This reverts commit ed29c0c62a.
2025-02-17 22:56:24 +01:00
cschen
9766e26c5c new line flags multiline 2025-02-17 22:52:50 +01:00
cschen
bdcc4b11ad dont' drop the handle 2025-02-17 22:52:30 +01:00
cschen
57bc434901 remove useless intermediate variable 2025-02-17 22:52:14 +01:00
cschen
ed29c0c62a remove the timeout async call 2025-02-17 22:51:39 +01:00
cschen
d5399141e1 import gc: for bisect 2025-02-17 22:51:05 +01:00
cschen
c97a276d71 fix create buffer input handlers 2025-02-17 22:36:31 +01:00
cschen
feed0fa9c9 fix: make leave buffer take only a buffer id as argument
leftover
2025-02-17 22:35:24 +01:00
cschen
d4f09bc564 fix connection workflow 2025-02-17 22:32:29 +01:00
cschen
0f5351e20b add information on how to install package control v4 2025-02-17 22:31:48 +01:00
cschen
b5ddf71199 feat: completely reworked the connection flow. Now profiles can be specified in the
`Codemp.sublime-settings` file. Otherwise we use default endpoint values and ask
for credentials manually. The credentials are then later saved *in memory* for easier subsequent
use.
2025-02-16 18:36:09 +01:00
cschen
34d8a7562c fix input handler so they can accept single elements 2025-02-16 18:33:23 +01:00
cschen
0931075d29 get only joined workspaces for the leave buffer command 2025-02-16 18:32:41 +01:00
cschen
b66f85caf7 attempts at better dropping procedure for buffers 2025-02-16 18:31:51 +01:00
cschen
19bbc9c646 fix: use vbuff_from_view function. 2025-02-16 18:30:51 +01:00
cschen
dcb95a8cd8 chore: improved the generic input handlers 2025-02-15 22:22:09 +01:00
cschen
db033e7882 fix: now when joining a buffer the text is correctly loaded and the syntax is assigned 2025-02-15 22:21:48 +01:00
cschen
8e6e9e07a1 chore: greatly improved the readability of the connect input handler 2025-02-15 22:20:56 +01:00
cschen
fb10452bc0 fix: adds back the commands so that they are available. 2025-02-15 22:20:10 +01:00
cschen
40073be509 feat: adds small utility to check if a view is a codemp buffer 2025-02-15 22:19:42 +01:00
cschen
7cd471eb4f print which library version we're using on plugin load. 2025-02-15 19:55:19 +01:00
cschen
637ce762a3 chore: minor fixes and renaming 2025-01-18 20:13:49 +01:00
cschen
a996e9d558 fix :readme 2024-11-30 15:38:53 +01:00
cschen
1141c81d16 fix: remove old comments 2024-11-30 15:36:53 +01:00
cschen
2b8eec4d9e fix: remove .no-sublime-package and update readme 2024-11-30 15:34:17 +01:00
cschen
17ad35dfd7 try an async sending. 2024-11-30 15:12:38 +01:00
cschen
5821b6b354 eheh, fix 2024-11-30 15:09:37 +01:00
cschen
d07d2f144e Merge branch 'viewtag' into dev 2024-11-30 14:58:19 +01:00
cschen
63da225cbe disables using change_id() as it was introducing complications.
moved view population outside of buffer adding, but it is still broken.
2024-11-19 19:50:31 +01:00
cschen
b378173fb4 feat: Add sync command. 2024-11-19 19:46:44 +01:00
cschen
a01fb8f291 fix/tweaks: minor changes and fixes 2024-11-03 17:59:17 +01:00
cschen
d03b7753cc fix: wrongly calling command to create workspace instead of buffer. 2024-11-03 17:58:45 +01:00
cschen
713fe3a30c chore: disable create on missing behaviour for now 2024-11-03 17:58:17 +01:00
cschen
93f3e38c75 feat(WIP): added quick panel browsing for server and workspace! 2024-11-03 17:57:31 +01:00
cschen
c222aec013 chore: missed the file with the text change listener class. It was moved in its own file because
this function is crucial and needs some extra attention.
2024-11-02 18:30:13 +01:00
cschen
75f4e185a8 chore: continuing refactor. should be almost done now. Cleaned up registries, commands and improved lookup logic. 2024-11-02 18:26:37 +01:00