11c6ada
Add tooltip for toggling filters (#15879)
Click to expand commit body
Release Notes: - N/A
Joseph T. Lyons created
11c6ada
Add tooltip for toggling filters (#15879)
Release Notes: - N/A
Joseph T. Lyons created
7366c85
linux: Fix arrow keys in command palette (#15871)
Fixes https://github.com/zed-industries/zed/issues/15870 (a recent regression from https://github.com/zed-industries/zed/commit/1f977410671ae18be97f5229e8716323b2276491) Release Notes: - N/A
apricotbucket28 created
591b579
elixir: Bump to v0.0.7 (#15867)
This PR bumps the Elixir extension to v0.0.7. Changes: - #14831 Release Notes: - N/A
Marshall Bowers created
a82f318
collab: Add missing `ZED_LLM_LOAD_BALANCER_SIZE_UNIT` variable (#15868)
We missed this in #15863. Release Notes: - N/A
Marshall Bowers created
104d7ad
Don't insert unnecessary space below the end of an inline transformation (#15865)
We achieved this by allowing block decorations to have a height of `0` and superimposing the border on top of the line, as opposed to carving out space below it. Release Notes: - N/A --------- Co-authored-by: Jason <jason@zed.dev>
Antonio Scandurra and Jason created
2e27448
assistant: Fix inline assistant not working for non-terminal panel views (#15864)
Fixes #15729 Release Notes: - Fixed an issue where the terminal inline assistant would not appear when opening a terminal in the center pane ([#15729](https://github.com/zed-industries/zed/issues/15729)).
Bennet Bo Fenner created
33afbe9
Add LLM service to kubernetes deployment action (#15863)
Release Notes: - N/A Co-authored-by: Marshall <marshall@zed.dev>
Max Brunsfeld and Marshall created
cf5f4dd
Authorize access to language model providers based on country (#15859)
This PR updates the LLM service to authorize access to language model providers based on the requester's country. We detect the country using Cloudflare's [`CF-IPCountry`](https://developers.cloudflare.com/fundamentals/reference/http-request-headers/#cf-ipcountry) header. The country code is then checked against the list of supported countries for the given LLM provider. Countries that are not supported will receive an `HTTP 451: Unavailable For Legal Reasons` response. Release Notes: - N/A
Marshall Bowers created
9c6ccaf
Allow user to restart transformation after stopping without a diff (#15858)
Release Notes: - N/A Co-authored-by: Jason <jason@zed.dev>
Antonio Scandurra and Jason created
411934b
Introduce a new `/workflow` command (#15854)
This subsumes the previous built-in prompt. Release Notes: - N/A
Antonio Scandurra created
889a14a
ruby: Bump to v0.1.0 (#15855)
ruby: Bump extension version to v0.1.0 Why not v0.0.9? I think the Ruby extension is mature, and it's time to release the first minor version. But I am totally OK with changing it to 0.0.9. Included changes: - https://github.com/zed-industries/zed/pull/15778 - https://github.com/zed-industries/zed/pull/15762 - https://github.com/zed-industries/zed/pull/15110 - https://github.com/zed-industries/zed/pull/15297 Release Notes: - N/A --------- Co-authored-by: Marshall Bowers <elliott.codes@gmail.com>
Vitaly Slobodin and Marshall Bowers created
874f0c0
assistant: Use tools in other providers (#15803)
- [x] OpenAI - [ ] ~Google~ Moved into a separate branch at: https://github.com/zed-industries/zed/tree/tool-calls-in-google-ai I've ran into issues with having the API digest our schema without tripping over itself - the function call parameters are malformed and whatnot. We can resume from that branch if needed. - [x] Ollama - [x] Cloud - [ ] ~Copilot Chat (?)~ Release Notes: - Added tool calling capabilities to OpenAI and Ollama models.
Piotr Osiewicz created
be514f2
Improve streaming git diffs to be less jumpy during inline assistant generation (#15853)
Release Notes: - Improved streaming git diffs to be less jumpy during inline assistant generation --------- Co-authored-by: Antonio Scandurra <antonio@zed.dev>
Kirill Bulatov and Antonio Scandurra created
a054a2a
ruff: Refactor language server loading (#15852)
This PR refactors the language server loading in the Ruff extension to mirror our other extensions. Also fixed an issue where the cached binary path was not being respected. Release Notes: - N/A
Marshall Bowers created
8231009
inline_completion_button: Do some cleanup (#15849)
This PR does some cleanup in the `inline_completion_button` after #15443. Release Notes: - N/A
Marshall Bowers created
1c3f303
ruby: Support "binary" settings for Rubocop and Solargraph (#15110)
Hello, this pull request adds support for specifying and using the
"binary" settings for Rubocop and Solargraph LSPs. AFAIK, Ruby LSP does
not require the bundler context but that could be added later easily.
In Ruby world, like in Node.js world, almost all
projects rely on project specific packages (gems) and their versions.
Solargraph and Rubocop gems are usually installed as project
dependencies. Attempting to use global installation of them fail in most
cases due to incompatible or missing dependencies (gems).
To avoid that, Ruby engineers have the `bundler`
gem that provides the `exec` command. This command executes the given
command in the context of the bundle.
This pull request adds support for pulling the `binary` settings to use
them in starting both LSPs. For instance, to start the Solargraph gem in
the context of the bundler, the end user must configure the binary
settings in the folder-specific settings file like so:
```json
{
"lsp": {
"solargraph": {
"binary": {
"path": "/Users/vslobodin/Development/festivatica/bin/rubocop"
}
}
}
}
```
The `path` key must be an absolute path to the `binstub` of the
`solargraph` gem. The same applies to the "rubocop" gem. Side note but
it would be awesome to use Zed specific environment variables to make
this a bit easier. For instance, we could use the `ZED_WORKTREE_ROOT`
environment variable:
```json
{
"lsp": {
"solargraph": {
"binary": {
"path": "${ZED_WORKTREE_ROOT}/bin/rubocop"
}
}
}
}
```
But this is out of the scope of this pull request. The code is a bit
messy and repeatable in some places, I am happy to improve it here or
later.
References:
- https://bundler.io/v2.4/man/bundle-exec.1.html
- https://solargraph.org/guides/troubleshooting
- https://bundler.io/v2.5/man/bundle-binstubs.1.html
This pull request is based on these two pull requests:
- https://github.com/zed-industries/zed/pull/14655
- https://github.com/zed-industries/zed/issues/15001
Closes https://github.com/zed-industries/zed/issues/5109.
Release Notes:
- N/A
---------
Co-authored-by: Marshall Bowers <elliott.codes@gmail.com>
Vitaly Slobodin and Marshall Bowers created
7cef5b2
Add menu item to switch Supermaven and Copilot (#15443)
Adds a "Use Supermaven" and "Use Copilot" menu item to the signed out menus for each of the autocomplete providers to make it easier to switch between them without having to update your local settings json. <img width="222" alt="image" src="https://github.com/user-attachments/assets/6f760f4e-5527-4971-bdaf-383bc99649bd"> Release Notes: - Added menu items to quickly switch between Supermaven and Copilot inline completions when the provider is not configured
Kevin Wang created
f4a58e5
typescript: Make it possible to use local vtsls (#15775)
Related things: https://github.com/zed-industries/zed/issues/7902 https://github.com/zed-industries/zed/issues/4978 Release Notes: - Added: positibily to use locally installed vtsls
Konstantin Matsiushonak created
d6e5265
assistant: Limit model access (#15820)
Release Notes: - N/A --------- Co-authored-by: Thorsten <thorsten@zed.dev>
Bennet Bo Fenner and Thorsten created
56abd68
assistant: Cleanup model selector (#15843)
We changed the following for the model selector: - Fixed displaying checkmarks for selected models when using models with the same name from different providers - We now show the icon for the active model instead of displaying the provider name in the trigger of the model selector - Only display the footer when the language models feature flag is zed, so that we don't release the hint for Zed Pro to preview tomorrow <img width="253" alt="image" src="https://github.com/user-attachments/assets/f95ccfb6-c0cf-43d4-9637-e2823100a427"> Release Notes: - N/A --------- Co-authored-by: Thorsten <thorsten@zed.dev>
Bennet Bo Fenner and Thorsten created
fb1cd7c
blade: Update to pick up Intel memory coherency fix & fix calling blade params (#15829)
Builds on @kvark's PR https://github.com/zed-industries/zed/pull/15781 by fixing call to Blades `create_texture_view` the arguments of which had changed. Picks up https://github.com/kvark/blade/pull/153 Release Notes: - Fixed Zed flickering on Linux when using Intel graphics. ([#14101](https://github.com/zed-industries/zed/issues/14101)). --------- Co-authored-by: Dzmitry Malyshau <kvark@fastmail.com> Co-authored-by: Thorsten Ball <mrnugget@gmail.com>
Jaakko Sirén , Dzmitry Malyshau , and Thorsten Ball created
44ae9ef
Cancel workflow step automatically when moving outside <step> tag (#15842)
Also, open edit suggestions automatically as soon as the edit step is resolved. Release Notes: - N/A
Antonio Scandurra created
7b5fdce
lsp: Support Goto Declaration (#15785)
Adds support for [Goto Declaration](https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#textDocument_declaration) LSP command. I am particularly interested in [this for Rust projects](https://rust-analyzer.github.io/manual.html#go-to-declaration), to be able to navigate to the place where a trait method is declared, coming from a trait method implementation. I noticed this was something I could do in VSCode before, but was somehow missing is Zed. Thanks to the already existing infrastructure for Goto Definition, I just followed and copy-paste-adapted it for Goto Declaration. As a bonus, I added `ctrl-F12` and `alt-ctrl-F12` as default macOS keybindings for `GoToDeclaration` and `GoToDeclarationSplit`, respectively. They are not keybindings from another editor, but I figured they made sense to be grouped along with the other *F12 commands. ### Release Notes: - Added "Go to declaration" editor action. - vim: Breaking change to keybindings after introduction of the `Go to declaration` editor action. The new keybindings are the following (and can be found [here](https://zed.dev/docs/vim), alongside the other key bindings): - `g d` - Go to definition - `g D` - Go to declaration - `g y` - Go to type definition - `g I` - Go to implementation https://github.com/user-attachments/assets/ee5c10a8-94f0-4e50-afbb-6f71db540c1b --------- Co-authored-by: Thorsten Ball <mrnugget@gmail.com>
Luis Cossío and Thorsten Ball created
82db5de
terminal: Fix context menu keybindings flicker (#15771)
Fixes https://github.com/zed-industries/zed/issues/15156 [Screencast_20240804_112659.webm](https://github.com/user-attachments/assets/d6d15e65-ece2-4342-b2ca-55e3737a4736) Release Notes: - N/A
apricotbucket28 created
1f97741
linux: Add shortcuts for left/right keys in prompts (#15779)
Fixes https://github.com/zed-industries/zed/issues/15151 Release Notes: - Fixed prompts on Linux not being navigable by arrow keys ([#15151](https://github.com/zed-industries/zed/issues/15151)).
apricotbucket28 created
45afe9d
ruby: Add support for *.rbs files (#15778)
Hi, this pull request adds support for RBS files for the Ruby language. [RBS](https://github.com/ruby/rbs) is a language to describe the structure of Ruby programs. This pull request: - adds a new grammar to the Ruby extension for RBS https://github.com/joker1007/tree-sitter-rbs - configures the Ruby extension to use the added grammar. Release Notes: - N/A
Vitaly Slobodin created
ca95113
collab: Add support for more providers to the LLM service (#15832)
This PR adds support for additional providers to the LLM service: - OpenAI - Google - Custom Zed models (through Hugging Face) Release Notes: - N/A
Marshall Bowers created
8e9c2b1
Introduce a separate backend service for LLM calls (#15831)
This PR introduces a separate backend service for making LLM calls. It exposes an HTTP interface that can be called by Zed clients. To call these endpoints, the client must provide a `Bearer` token. These tokens are issued/refreshed by the collab service over RPC. We're adding this in a backwards-compatible way. Right now the access tokens can only be minted for Zed staff, and calling this separate LLM service is behind the `llm-service` feature flag (which is not automatically enabled for Zed staff). Release Notes: - N/A --------- Co-authored-by: Marshall <marshall@zed.dev> Co-authored-by: Marshall Bowers <elliott.codes@gmail.com>
Max Brunsfeld , Marshall , and Marshall Bowers created
4ed43e6
collab: Ignore Stripe events that are older than an hour (#15830)
This PR makes it so any Stripe events we receive that occurred over an hour ago are marked as processed. We don't want to process an old event long after it occurred and potentially overwrite more recent updates. This also makes running collab locally a bit nicer, as we won't be getting errors for a bunch of older events that will never get processed successfully. The period after time after which we consider an event "stale" can be modified, as needed. Release Notes: - N/A
Marshall Bowers created
f6a0fef
repl: Address simple fixes (#15828)
Release Notes: - Added logging in debug mode of raw kernel output from REPL. - Fixed REPL kernels not being shut down completely on close of Editor
Kyle Kelley created
ab1fabe
gpui: Align SVG sprites to whole pixels (#15822)
Related to https://github.com/zed-industries/zed/issues/12352 (and old issue https://github.com/zed-industries/zed/issues/643) This fixes visual glitches that could happen when rendering icons on Linux and Windows (and in the Blade backend)    Release Notes: - Linux: Fixed visual glitches when rendering icons.
apricotbucket28 created
27779e3
Refactor: Restructure collab main function to prepare for new subcommand: `serve llm` (#15824)
This is just a refactor that we're landing ahead of any functional changes to make sure we haven't broken anything. Release Notes: - N/A Co-authored-by: Marshall <marshall@zed.dev> Co-authored-by: Jason <jason@zed.dev>
Max Brunsfeld , Marshall , and Jason created
705f7e7
collab: Include `geoip_country_code` in initial span (#15819)
This PR changes how we report the `geoip_country_code` in the tracing spans. I wasn't seeing it come through in the logs, and I think it was because we didn't declare the field on the initial span. Release Notes: - N/A
Marshall Bowers created
04ad088
assistant: Remove old model selector code (#15817)
This PR removes the old model selector code, as it was no longer used after #15693. Release Notes: - N/A
Marshall Bowers created
03cc18d
assistant-panel: Update model selector to a combo-box (#15693)
This updates the model selector to be a combobox (filterable list) This PR causes the following regression: There is no longer a message in the inline assistant explaining context is included from the assistant panel. Will follow up with some sort of solution soon. Before:  After:   Release Notes: - N/A --------- Co-authored-by: Marshall Bowers <1486634+maxdeviant@users.noreply.github.com>
Nate Butler and Marshall Bowers created
f11f3f2
collab: Attach GeoIP country code to RPC sessions (#15814)
This PR updates collab to attach the user's GeoIP country code to their RPC session. We source the country code from the [`CF-IPCountry`](https://developers.cloudflare.com/fundamentals/reference/http-request-headers/#cf-ipcountry) header. Release Notes: - N/A
Marshall Bowers created
be0ccf4
assistant: Show error messages in popover notification (#15808)
<img width="644" alt="image" src="https://github.com/user-attachments/assets/ee6f2e60-e50a-481e-98b4-6c4b72a9b882"> Release Notes: - N/A --------- Co-authored-by: Thorsten <thorsten@zed.dev>
Bennet Bo Fenner and Thorsten created
294892c
assist panel: Update Zed AI notice if provider changes (#15805)
Release Notes: - N/A --------- Co-authored-by: Bennet <bennet@zed.dev>
Thorsten Ball and Bennet created
49d0672
assistant panel: Fix wrong state for Zed.dev provider being shown (#15800)
Release Notes: - N/A Co-authored-by: Bennet <bennet@zed.dev>
Thorsten Ball and Bennet created
0d97b23
assistant panel: Make "Configure" button in menu open Configuration view (#15799)
Release Notes: - N/A Co-authored-by: Bennet <bennet@zed.dev>
Thorsten Ball and Bennet created
0fba364
assistant panel: Show Zed AI notice & configuration hint (#15798)
This adds two possible notices to the assistant panel: - Shows notice if currently selected provider is not configured - Shows notice if user is signed-out and (does not have provider OR provider is zed.dev) and tells user to sign in Design needs to be tweaked. cc @iamnbutler  Release Notes: - N/A Co-authored-by: Bennet <bennet@zed.dev>
Thorsten Ball and Bennet created
d997771
assistant: Fix prompts not being editable (#15796)
Fixes a bug introduced in #15615, where prompts could not be edited in the prompt library. This PR fixes the behavior by only preventing users to edit built-in prompts. Release Notes: - N/A
Bennet Bo Fenner created
559ce87
linux: Save opened workspace when closing last window (#15754)
Fixes https://github.com/zed-industries/zed/issues/15642 (also fixes a bug where replacing a workspace in the same window would reopen the old project after closing with `CTRL + Q`) Release Notes: - Linux: Fixed last workspace not being restored on startup ([#15642](https://github.com/zed-industries/zed/issues/15642)). - Fixed a bug where a closed workspace could be reopened on startup.
apricotbucket28 created
0ec29d6
Restructure workflow step resolution and fix inserting newlines (#15720)
Release Notes: - N/A --------- Co-authored-by: Nathan <nathan@zed.dev>
Antonio Scandurra and Nathan created
49e736d
ruby: Recognize `Steepfile`s as Ruby (#15762)
Release Notes: - N/A
Reese is on Codeberg created
f8234ae
repl: Add ctrl-alt-enter binding to run in place (#15743)
Release Notes: - Added `ctrl-alt-enter` keybinding for `repl::RunInPlace` (`ctrl-option-enter` on MacOS). Keeps your screen position and cursor in place when running any block.
Kyle Kelley created
b7eae7f
repl: Render markdown output from kernels (#15742)
<img width="1268" alt="image" src="https://github.com/user-attachments/assets/73e03a28-f5e3-4395-a58c-cabd07f57889"> Release Notes: - Added markdown rendering for Jupyter/REPL outputs. Push Markdown from Deno/Typescript with `Deno.jupyter.md` and in IPython use `IPython.display.Markdown`.
Kyle Kelley created
36b61a8
repl: Process display IDs for updatable displays (#15738)
Release Notes: - Added `update_display_data` support for REPL. https://github.com/user-attachments/assets/d618e457-e314-482e-954a-6384f185629a
Kyle Kelley created
68446d2
Use lowercase command names in initial settings files (#15717)
Release Notes: - N/A Making these two comments match what I see in the command palette: <img width="629" alt="Xnapper-2024-08-03-08 09 26" src="https://github.com/user-attachments/assets/f3eab05b-1560-4b0a-8df2-0eaf5746e422">
Adam Johnson created
4528e9d
repl: Create better terminal output for REPL stdio (#15715)
Rely on our implementation of a GPUI powered alacritty terminal to render stdout & stderr from the repl. Release Notes: - Fixed ANSI escape code and carriage return handling in repl outputs (https://github.com/zed-industries/zed/issues/15640, https://github.com/zed-industries/zed/issues/14855) https://github.com/user-attachments/assets/bd3f1584-863a-4afa-b60b-9d222a830ff8 --------- Co-authored-by: Mikayla <mikayla@zed.dev>
Kyle Kelley and Mikayla created