Commit graph

145 commits

Author SHA1 Message Date
17bb0e96fe
refactor: remove log message from symbols request
This information is in the palette anyway.
2025-12-26 23:00:17 +01:00
652354ec1b
fix: completion decode error in completions with additionalTextEdits
closes #429
2025-12-26 21:50:27 +01:00
637e91e45e
refactor: add detail to error.InvalidCompletionItemFieldName 2025-12-26 21:48:24 +01:00
37bb88b31c
fix: handle missing completion items in language server response 2025-12-26 20:28:35 +01:00
a623814dfb
fix: assume isComplete is true if not sent by language server 2025-12-26 20:27:04 +01:00
5bfc21430b
refactor: add a lot of detail to project manager error reporting 2025-12-26 20:23:55 +01:00
90aba421a2
refactor: read triggerCharacters from LSP init response 2025-12-24 15:07:11 +01:00
3c9cf07f9d
fix: avoid spamming the differ on every vcs_content frame 2025-12-17 22:32:57 +01:00
2a3210a183
refactor: store received vcs_id and vcs_content in buffer 2025-12-17 21:12:02 +01:00
c021136fef
refactor: add request_vcs_id and request_vcs_content to project_manager 2025-12-17 21:01:02 +01:00
5fd499d141
fix: avoid "error invalid JSON in LSP initialization options" messge when there are no options 2025-12-15 22:45:21 +01:00
cb8e4cb988 refactor: log error on invalid JSON in LSP configuration options 2025-12-15 13:05:54 +01:00
Palanix
8aa8e5cd3d Fix sending null 2025-12-15 13:05:54 +01:00
19b38609f8 fix: don't use extract_cbor on language_server_options
Also, simplify cbor encoding of initializationOptions.
2025-12-13 22:34:07 +01:00
Palanix
9e0077985e Add basic LSP configuration capabilities 2025-12-13 22:34:07 +01:00
b22337a2b3
refactor: extract insertText from completion responses 2025-12-09 18:52:46 +01:00
090d27d890
refactor: use {t} format specifiers 2025-12-04 14:44:53 +01:00
35aa99f57f
fix: hover does not process a list of results correctly
see #411

Not a fix, but related.
2025-12-03 14:33:53 +01:00
29231ad87a
fix: windows build 2025-11-26 12:13:54 +01:00
57c5066451
fix: add support for non-authorative file URIs from LSPs (part 2) 2025-11-25 17:16:32 +01:00
679927f8bd
fix: add support for non-authorative file URIs from LSPs
This should fix current zls.
2025-11-25 15:48:07 +01:00
23e66d8fe9
feat: add results count to open_recent palette 2025-11-23 19:35:58 +01:00
Igor Támara
ced915fedc refactor: Removed unused lsp symbol struct 2025-11-18 15:53:49 +01:00
462cc06e2e
fix: don't run git status if we don't have a git working directory
closes #390
2025-11-17 00:09:01 +01:00
Igor Támara
6e9e00e142 feat: add symbol palette
The palette intentionally shows narrow to give more prevalence to file
contents and see the context.
2025-11-16 22:56:36 +01:00
Igor Támara
cfb208f3d8 feat: lsp symbols with parent in mainview 2025-11-16 22:56:36 +01:00
Igor Támara
5f49e181ee feat: lsp textDocument/documentSymbol invocation 2025-11-16 22:56:36 +01:00
Igor Támara
618719cdc2 refactor: lsp read_locationlink 2025-11-16 22:56:36 +01:00
f909e1437e
fix: Project stuck in loading state 2025-11-08 22:29:49 +01:00
c6da708250
refactor: add project_manager.highlight_references request 2025-11-07 11:55:26 +01:00
7744bdf6c4
fix: update Project.last_used when switching projects 2025-11-05 16:33:12 +01:00
b70cf4cea7
refactor: remove extra log message 2025-10-28 22:33:25 +01:00
Igor Támara
fdf2b6d376 feat: allow to update vcs changed files info for current project 2025-10-28 22:20:36 +01:00
Igor Támara
52609ab198 feat: Project makes available modified and untracked files
Project exposes functions to query and return modified and
untracked files informed by git.
2025-10-28 22:20:36 +01:00
3e4a604739
refactor: move git status request to project_manager 2025-10-28 21:31:32 +01:00
45669cad31
fix: add support for integer codes in LSP diagnostics
This fixes vscode-json-language-server and possibly others.
2025-10-28 15:03:52 +01:00
e053a0dcf4
fix: normalize away './' path prefixes 2025-10-23 23:24:58 +02:00
5b23998376
fix: don't restore files from project that no longer exist 2025-10-23 19:02:29 +02:00
4c156aa4b1
fix: crash on failed language server startup 2025-10-22 10:12:35 +02:00
3c55ed876b
refactor: allow mocking of root module functions for easier unittesting 2025-10-08 14:18:03 +02:00
5d760f1d84
fix: send real flow version to LSP 2025-10-08 14:17:51 +02:00
cd54b5a954
fix(wsl): assume kind file if statFile fails 2025-10-07 10:25:24 +02:00
f71e4c7b04
fix(wsl): use zero mtime if statFile fails 2025-10-07 10:18:22 +02:00
9ea32d46e2
feat: preparations for additionalTextEdits support in completions 2025-10-02 22:51:01 +02:00
6301c078c8
fix: move file type guessing out of project_manager thread
Performing hundreds of thousands of file type guessing operations can
block the project manager for seconds leading to slow exits. With this
change we move the file type guessing into the tree walker thread leaving
the project manager to respond to other requests including shutdown messages.
2025-10-02 17:43:12 +02:00
ebb7fb399e
fix: support TextEdit responses to completion requests
In addition to InsertReplaceEdit responses.

This improves completion with OmniSharp and possibly others.
2025-10-02 14:58:32 +02:00
42b7ae46a0
fix: open competion palette after all completions are received 2025-10-01 21:29:05 +02:00
e6b39c274c
refactor: lots and lots of writergate changes 2025-09-24 22:30:18 +02:00
76600bc6bd
fix: handle completion items with no insert and/or replace coordinates
superhtml fix
2025-09-13 20:06:04 +02:00
67b214675f
refactor: log issues in LSP completion item messages 2025-09-13 20:05:28 +02:00