Commit Graph
1594 Commits
Author SHA1 Message Date
KCaverlyandmaxbrunsfeld 551809b8f1 updated vector store indexing to only use languages with an embedding.scm treesitter query
Co-authored-by: maxbrunsfeld <max@zed.dev>
2023-06-30 16:14:11 -04:00
KCaverly c57fb5fd33 Merge branch 'main' of github.com:zed-industries/zed into vector_store 2023-06-30 09:58:13 -04:00
Kirill Bulatov a92bc13f72 Add more hint tests 2023-06-29 22:39:18 +03:00
Kirill Bulatov ff5645c43b Move hint settings on the language level 2023-06-29 22:39:18 +03:00
Julia e9e3bd616f Merge branch 'main' into fix-broken-lsp-installations 2023-06-28 16:46:06 -04:00
KCaverly 4b3034c064 Merge branch 'main' of github.com:zed-industries/zed into vector_store 2023-06-28 14:42:24 -04:00
Max Brunsfeld 995045efa7 Fix bugs in handling combined injections exposed by HEEx 2023-06-27 15:08:26 -07:00
Julia 2d2e3fb417 Add installation test binaries for all remaining adapters 2023-06-26 11:54:20 -04:00
Julia 2268075500 Avoid validating/reinstalling server which refuses will_fetch/start
These adapters have indicated some broader reason to the user why
they cannot be started, don't waste time/bandwidth attempting to
validate and reinstall them
2023-06-24 22:42:06 -04:00
Julia 4590864edc Remove installation test binary from language server instance 2023-06-23 13:24:50 -04:00
Julia 074a8b100d Remove some status stuff 2023-06-23 00:17:27 -04:00
KCaverly 4dcf44433d open ai indexing on open for rust files 2023-06-22 16:50:07 -04:00
Julia 63de597246 The log-ification 2023-06-21 14:02:21 -04:00
Julia 074db3e420 Merge branch 'main' into fix-broken-lsp-installations 2023-06-20 17:23:34 -04:00
Nathan Sobo b53c0fef84 Rename SumTree::push_tree to ::append (#2626)
This is something I've been meaning to rename in SumTree. Was looking at
the code and figure why not now.
2023-06-20 08:37:55 -06:00
Nathan Sobo e526fd506e Rename SumTree::push_tree to ::append 2023-06-19 19:49:33 -06:00
Max Brunsfeld 4c23b5dd5e Show a notification when unable to start elixir-ls 2023-06-19 18:05:30 -07:00
Max Brunsfeld ce67424f65 Show a notification that gopls can't be installed without go 2023-06-19 18:05:12 -07:00
Max Brunsfeld 6ae28e4bdf Introduce LspAdapterDelegate trait, passed to LspDelegates 2023-06-19 16:12:25 -07:00
Julia 430fd91694 Route some more information for reinstall after startup failure
Doesn't actually reinstall on that particular failure due to wrong
variant in hashmap
2023-06-19 15:18:12 -04:00
Julia d0ee2df6ce Actually fully start reinstalled language server 2023-06-15 13:56:07 -04:00
Julia c8b86e2031 Setup C adapter with test binary 2023-06-15 12:18:34 -04:00
Julia a0154eefff Actually check and reinstall broken server 2023-06-15 12:18:34 -04:00
Julia 7353151a33 Many steps toward validating and reinstalling server after failure 2023-06-15 12:18:34 -04:00
Julia 6c5fd5f1a3 Detect LSP startup failure 2023-06-15 12:18:34 -04:00
Piotr Osiewicz 9b1eed8ff2 editor: Add language setting for comment continuations (#2605)
Per @JosephTLyons request I've added a language setting for comment
continuations.

Release Notes:

- Added a language setting for comment continuations.
2023-06-13 18:59:46 +02:00
Max Brunsfeld 9823a67a47 Fix syntax map bug with combined injections inside of other injections 2023-06-12 17:32:20 -07:00
Max Brunsfeld 9a72f66b72 Move SyntaxMap tests to their own file 2023-06-12 16:24:17 -07:00
Max Brunsfeld 1b6aeb4165 Improve the look of the syntax tree view UI 2023-06-12 15:14:57 -07:00
Max Brunsfeld a3435cd0b0 Start work on a syntax tree view 2023-06-12 15:14:56 -07:00
Max Brunsfeld 6a31af8959 Show function parameters in elixir outline view
Introduce a new capture in the outline query called 'context.extra', which
causes text to appear in the outline, but not in the breadcrumbs.
2023-06-06 16:27:05 -07:00
Max Brunsfeld 77dfc1a803 Avoid panic when failing to load a language's queries 2023-06-06 16:06:16 -07:00
Max Brunsfeld 4bfec02d3c Live-reload tree-sitter queries in development 2023-06-06 14:20:21 -07:00
Joseph Lyons 4b5a7ec94a Fix typos 2023-06-02 22:02:19 -04:00
Max Brunsfeld 82b41adb88 🎨 2023-05-31 15:13:01 -07:00
Max Brunsfeld c338c69da7 Make language_settings take a language, not a language name 2023-05-31 15:10:30 -07:00
Max Brunsfeld 6f55841897 Make language settings accessors take an arc dyn file 2023-05-31 14:57:04 -07:00
Max Brunsfeld 1fbbaa262f Respect project-specific settings for copilot 2023-05-31 14:42:15 -07:00
Max Brunsfeld fb4c174fd1 Start work on respecting project-specific settings 2023-05-29 14:25:49 -07:00
Max Brunsfeld 208cf495f8 Adjust diagnostic transformation test to not wait for two buffer notifications 2023-05-26 15:47:37 -07:00
Julia a3bc3f85a9 Clean up final remaining code paths calling old diff update method 2023-05-25 14:41:09 -04:00
Julia ee718b9a33 Remove concept of git diff refresh from Item trait 2023-05-25 14:29:28 -04:00
JuliaandMax Brunsfeld 7331f2ce3f Project level git diff recalc handling
This avoids an issue where in a many-buffer multi-buffer, each modified
buffer could complete its recalc independently, causing a cascade of
repeated notifies

Now all recalcs started at the same time must complete before
 A: Starting another recalc pass
 B: The master notify occurring

Each buffer can still show its new diff if something else triggers it
to notify earlier, this is desirable and does not have the same negative
effects as the notify cascade as those re-layouts would need to happen
anyway

Co-Authored-By: Max Brunsfeld <max@zed.dev>
2023-05-25 14:10:27 -04:00
Max Brunsfeld e507cc509c wip 2023-05-25 14:10:27 -04:00
Nathan Sobo 0d72a3bec6 Merge remote-tracking branch 'origin/main' into zmd 2023-05-24 11:04:07 -06:00
Nathan Sobo 2f2061db74 WIP 2023-05-22 23:11:27 -06:00
Max Brunsfeld 9dd6826cbc Clear old diagnostics when restarting a language server 2023-05-22 12:53:22 -07:00
Max Brunsfeld 34eda434c9 Fix spurious setting error log messages (#2498)
Fixes a bug introduced in
https://github.com/zed-industries/zed/pull/2448, where error messages
would be logged if the user config didn't specify certain fields like
`journal` or `telemetry`.
2023-05-22 11:44:21 -07:00
Mikayla Maki b72cdb7362 Refactored apart the forward and the backwards iterator for diff hunks 2023-05-19 18:09:47 -07:00
Max Brunsfeld 9eb9a3cb71 Fix spurious setting error logs on non-existent setting keys 2023-05-19 17:15:05 -07:00