Kyle Caverly
ba5d486706
port ai to zed2 ( #3186 )
...
port ai to zed2
2023-10-30 20:09:49 +01:00
KCaverly
f3a081158c
updated for model handle rename
2023-10-30 15:04:16 -04:00
2a8cdf3638
Rename other references from "handle" to "model"
...
Co-Authored-By: Max <max@zed.dev >
Co-Authored-By: Mikayla <mikayla@zed.dev >
2023-10-30 19:54:32 +01:00
KCaverly
5b9e284984
keeping this bad boy green during fmt checks
2023-10-30 14:49:31 -04:00
Marshall Bowers
8fc8f80403
Remove old theme constructs
2023-10-30 14:47:44 -04:00
KCaverly
db45e39e18
Merge branch 'zed2' of github.com:zed-industries/zed into zed2-ai
2023-10-30 14:47:13 -04:00
Antonio Scandurra
3895aba120
Rename Handle to Model
2023-10-30 19:44:01 +01:00
KCaverly
84fffd7599
port ai crate to ai2, with all tests passing
2023-10-30 14:40:31 -04:00
Marshall Bowers
be81b7d0d8
Remove references to old_theme
2023-10-30 14:36:49 -04:00
Marshall Bowers
a76c85bc3b
Merge branch 'zed2' of github.com:zed-industries/zed into zed2
2023-10-30 14:28:27 -04:00
Marshall Bowers
38cea1c93b
Remove themed wrapper
2023-10-30 14:28:25 -04:00
KCaverly
7d5b4e463f
Merge branch 'main' of github.com:zed-industries/zed into zed2
2023-10-30 13:44:50 -04:00
Piotr Osiewicz
0fff731b76
zed2-backport: Elixir next ls bad cpu type ( #3185 )
2023-10-30 18:44:47 +01:00
Piotr Osiewicz
803d45f9d4
lsp/next-ls: Fix wrong nls binary being fetched.
...
CPU types had to be swapped around.
Fixed zed-industries/community#2185
2023-10-30 18:43:11 +01:00
Piotr Osiewicz
2178dda375
lsp/next-ls: Fix wrong nls binary being fetched. ( #3181 )
...
CPU types had to be swapped around.
Fixed zed-industries/community#2185
Release Notes:
- Fixed Elixir next-ls LSP installation failing due to fetching a binary
for the wrong architecture (zed-industries/community#2185 ).
2023-10-30 18:27:05 +01:00
Marshall Bowers
03dfee7a52
Add menu2 crate
2023-10-30 12:56:23 -04:00
Marshall Bowers
0d314f6baf
Format theme2
2023-10-30 11:26:30 -04:00
Marshall Bowers
9d4ddb7171
Convert all themes
2023-10-30 11:22:04 -04:00
Marshall Bowers
959c72f53a
Emit modules for each theme
2023-10-30 11:21:33 -04:00
Kyle Caverly
132bc463c9
Model cleanup ( #3157 )
...
Small reorganization for the AI crates. I seperated out the base traits
and providers, to get closer to an abstraction for AI completions as
opposed to OpenAI specific functionality.
2023-10-30 16:15:11 +01:00
KCaverly
760a96677d
Merge branch 'main' of github.com:zed-industries/zed into model_cleanup
2023-10-30 11:07:29 -04:00
KCaverly
540806057a
clean up warnings and fix tests in the ai crate
2023-10-30 11:07:24 -04:00
Marshall Bowers
bf473ea696
Revert changes to themes
2023-10-30 11:06:45 -04:00
Marshall Bowers
00bd9e05c4
Emit all themes at once
2023-10-30 11:04:03 -04:00
Marshall Bowers
de7f9641ff
Merge branch 'zed2' of github.com:zed-industries/zed into zed2
2023-10-30 10:40:48 -04:00
Marshall Bowers
82fcba3b48
Factor out ThemePrinter into its own module
2023-10-30 10:40:46 -04:00
KCaverly
0a4b9cc4c3
moved authentication for the semantic index into the EmbeddingProvider
2023-10-30 10:02:27 -04:00
Antonio Scandurra
77b8c8c4d4
Remove randomness from GPUI2 block_with_timeout
2023-10-30 12:10:55 +01:00
Kirill Bulatov
fc3c64987d
Port prettier panic fix to gpui2
2023-10-30 13:00:49 +02:00
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