Marshall Bowers
c27546f5f3
Enable clippy::single_char_pattern ( #8727 )
...
This PR enables the
[`clippy::single_char_pattern`](https://rust-lang.github.io/rust-clippy/master/index.html#/single_char_pattern )
rule and fixes the outstanding violations.
Release Notes:
- N/A
2024-03-02 17:04:59 -05:00
Max Brunsfeld and Marshall
e1ea950492
Add logic for managing language and theme extensions ( #7467 )
...
This PR adds the initial support for loading extensions in Zed.
### Extensions Directory
Extensions are loaded from the extensions directory.
The extensions directory has the following structure:
```
extensions/
installed/
extension-a/
grammars/
languages/
extension-b/
themes/
manifest.json
```
The `manifest.json` file is used internally by Zed to keep track of
which extensions are installed. This file should be maintained
automatically, and shouldn't require any direct interaction with it.
Extensions can provide Tree-sitter grammars, languages, and themes.
Release Notes:
- N/A
---------
Co-authored-by: Marshall <marshall@zed.dev >
2024-02-07 15:14:50 -05:00
Piotr Osiewicz
204fbd7a79
text: Wrap BufferId into a newtype
2024-01-29 20:00:47 +01:00
Max Brunsfeld and Mikayla
74e6eb908f
Remove 2 suffix for assistant, journal
...
Co-authored-by: Mikayla <mikayla@zed.dev >
2024-01-03 11:14:01 -08:00
KCaverly
77ba43fdf7
moved from Boxes to Arcs for shared access of completion providers across the assistant panel and inline assistant
2023-11-02 10:08:47 -04:00
KCaverly
04b7f427e8
authenticate with completion provider on new inline assists
2023-11-02 09:34:18 -04:00
Kyle Caverly
eb26a3eb3d
added parsing support for <|S| |E|> spans ( #3184 )
...
added parsing support for <|S| and |E|> spans for inline generation
2023-11-01 10:26:01 -04:00
KCaverly
d861749e52
added parsing support for <|S| |E|> spans
2023-10-30 13:32:47 -04:00
KCaverly
760a96677d
Merge branch 'main' of github.com:zed-industries/zed into model_cleanup
2023-10-30 11:07:29 -04:00
KCaverly
0a4b9cc4c3
moved authentication for the semantic index into the EmbeddingProvider
2023-10-30 10:02:27 -04:00
KCaverly
7711979af8
added credential provider to completion provider
2023-10-28 16:35:43 -04:00
KCaverly
3e6c21e568
moved TestCompletionProvider into ai
2023-10-27 12:26:01 +02:00
KCaverly
d7c77dda20
add concept of LanguageModel to CompletionProvider
2023-10-27 08:51:30 +02:00
KCaverly
4eb4f0b878
updated authentication for embedding provider
2023-10-26 11:18:16 +02:00
Piotr Osiewicz
d1c8772592
Extract multi_buffer module out of editor ( #3170 )
...
Release Notes:
- N/A
2023-10-25 19:31:47 +02:00
KCaverly
ca16c6d7d1
replace OpenAIRequest with more generalized Box<dyn CompletionRequest>
2023-10-22 14:33:19 +02:00
KCaverly
c90c5279f9
move OpenAICompletionProvider to providers location
2023-10-22 13:57:13 +02:00
Antonio Scandurra
f9d695fa98
Don't include start of a line when selection ends at start of line
2023-10-10 19:11:13 +02:00
KCaverly
4e6cfd3982
introduce ai crate with completion providers
2023-09-21 22:44:56 -04:00
KCaverly
cbbf18051c
rename ai crate to assistant crate
2023-09-21 21:54:59 -04:00