Commit Graph
25009 Commits
Author SHA1 Message Date
Kirill Bulatov 7dd18ec31f Do not panic when looking for prettier (#3182)
Fixes
https://zed-industries.slack.com/archives/C04S6T1T7TQ/p1698655595438009

Instead of checking FS, derive the prettier path needed and let prettier
invocation fail in logs instead.
2023-10-30 12:59:46 +02:00
Kirill Bulatov 58b1d6c938 Do not panic when looking for prettier (#3182)
Fixes
https://zed-industries.slack.com/archives/C04S6T1T7TQ/p1698655595438009

Instead of checking FS, derive the prettier path needed and let prettier
invocation fail in logs instead.
2023-10-30 12:58:47 +02:00
Kirill Bulatov 32aa09edf8 Be more lenient when searching for prettier instance
Do not check FS for existence (we'll error when start running prettier),
simplify the code for looking it up
2023-10-30 12:13:58 +02:00
Kirill Bulatov baffccd01d Do not panic on prettier search 2023-10-30 12:13:54 +02:00
Kirill Bulatov 03bb4d9586 Properly log prettier paths 2023-10-30 11:17:11 +02:00
Kirill Bulatov 5e463bcb12 Properly log prettier paths 2023-10-30 11:14:00 +02:00
Joseph T. Lyons 43e6ccc925 Do not call scroll_to() twice when circularly navigating popover menus (#3180)
The tweaks made to add circular navigation to autocompletion / code
action menus accidentally was calling `scroll_to` twice in some cases -
just fixing that.

Release Notes:

- N/A
2023-10-29 15:02:09 -04:00
Joseph T. Lyons 7c504125d1 Pull duplicate call out of if-else block 2023-10-29 13:54:32 -05:00
Joseph T. Lyons 572f4ba629 Do not call scroll_to twice 2023-10-29 13:47:02 -05:00
KCaverly f8890718e0 replace api_key with ProviderCredential throughout the AssistantPanel 2023-10-28 18:16:45 -04:00
KCaverly 7711979af8 added credential provider to completion provider 2023-10-28 16:35:43 -04:00
Joseph T. Lyons c51f122fa8 Port journal to GPUI2 (#3178)
Release Notes:

- N/A
2023-10-28 17:42:42 +02:00
Joseph T. Lyons 02a7548566 Port journal to GPUI2 2023-10-28 11:37:25 -04:00
Nathan Sobo 839771026b Merge branch 'gpui2-docs' into zed2 2023-10-27 17:07:28 -06:00
Nathan Sobo 33d5128c8d Add docs for window.rs, but still incomplete 2023-10-27 22:29:59 +02:00
Nathan Sobo 234bf9f9cb Add doc comments to app.rs 2023-10-27 21:19:48 +02:00
Conrad Irwin 4553df4148 Port changes from #3118 to zed2 2023-10-27 13:27:55 +02:00
Conrad Irwin 6ea9068437 Port changes from #3154 to zed2 2023-10-27 13:24:37 +02:00
KCaverly 3e6c21e568 moved TestCompletionProvider into ai 2023-10-27 12:26:01 +02:00
Conrad Irwin e8a7aa08bb Comment out failing gpui2 test 2023-10-27 11:24:23 +02:00
Conrad Irwin 7df2b1042a Remove deadlock from gpui2 pasteboard 2023-10-27 11:14:13 +02:00
Conrad Irwin 4ab44fa554 Get cargo test --workspace compiling again 2023-10-27 11:03:30 +02:00
Conrad Irwin 9f9f8bcad6 Rename last async_iife 2023-10-27 10:56:24 +02:00
Conrad Irwin a1fb3523d3 Merge branch 'main' into zed2 2023-10-27 10:55:15 +02:00
Conrad Irwin c06f517e0c Fix fs2 tests 2023-10-27 10:51:36 +02:00
Conrad Irwin 20837b19c0 Fix cargo fmt 2023-10-27 10:44:57 +02:00
KCaverly d7c77dda20 add concept of LanguageModel to CompletionProvider 2023-10-27 08:51:30 +02:00
KCaverly 8027a49ab4 ensure OpenAIEmbeddingProvider is using the provider credentials 2023-10-27 08:33:35 +02:00
Nathan Sobo f18c0f1eec Merge branch 'zed2-views' into zed2 2023-10-26 19:41:59 +02:00
Nathan Sobo 19e39bb578 Add View::update which provides a ViewContext 2023-10-26 19:41:42 +02:00
Conrad Irwin 45b08299fe Merge branch 'more-signing' 2023-10-26 18:27:58 +02:00
Conrad Irwin db5f8b9f78 Revert entitlements change 2023-10-26 18:27:34 +02:00
Conrad Irwin 25bc064a52 Try more signing 2023-10-26 18:27:33 +02:00
Conrad Irwin e9a72a23b4 v1 2023-10-26 18:19:57 +02:00
Antonio Scandurra feebc203c4 WIP 2023-10-26 18:17:45 +02:00
Julia 6ac236800a Limit language server reinstallation attempts (#3177)
Release Notes:

- Fixed a case where a sufficiently broken language server system
configuration could cause an infinite repeated server reinstallation,
consuming resources indefinitely.
2023-10-26 17:20:13 +02:00
Julia bd39ce050f Limit language server reinstallation attempts
zed2 electric boogaloo
2023-10-26 17:16:04 +02:00
Antonio Scandurra 289f4a6fdc Disable livekit on zed2 2023-10-26 17:15:19 +02:00
Antonio Scandurra 3135db57c8 WIP 2023-10-26 17:15:19 +02:00
Marshall Bowers 8e6062cab5 Merge branch 'zed2' of github.com:zed-industries/zed into zed2 2023-10-26 17:14:49 +02:00
Julia 19dc26c497 Limit language server reinstallation attempts 2023-10-26 17:14:34 +02:00
Joseph T. Lyons 315c1e6022 Revert "Add activity_indicator2"
This reverts commit 456c659c2a.
2023-10-26 17:13:40 +02:00
Marshall Bowers 64a3656e05 Pull syntax colors from JSON theme 2023-10-26 17:06:05 +02:00
Marshall Bowers 2cfbcb3db7 ui2: Remove dependency on theme crate 2023-10-26 16:50:04 +02:00
Marshall Bowers 2db19e3d6e ui2: Remove dependency on settings crate 2023-10-26 16:50:04 +02:00
Joseph T. Lyons 456c659c2a Add activity_indicator2 2023-10-26 16:49:39 +02:00
Marshall Bowers 2aa6fc3c20 Remove unneeded constructors for stories 2023-10-26 16:46:49 +02:00
Max Brunsfeld dfc66d2d56 Get remaining language2 tests passing 2023-10-26 16:38:50 +02:00
Max BrunsfeldandMarshall Bowers 11b184fe16 Represent theme's syntax colors with string keys
Co-authored-by: Marshall Bowers <marshall@zed.dev>
2023-10-26 16:38:50 +02:00
Marshall Bowers 82c5fcd3ec Merge branch 'zed2' of github.com:zed-industries/zed into zed2 2023-10-26 15:59:21 +02:00