Commit log

e4f13dd Blade window transparency (#10973)

Click to expand commit body
Release Notes:

- N/A

Following up to #10880
TODO:
- [x] create window as transparent
  - [x] X11
  - [x] Wayland
  - [ ] Windows
  - [x] MacOS (when used with Blade)  
- [x] enable GPU surface transparency
- [x] adjust the pipeline blend modes
- [x] adjust shader outputs


![transparency2](https://github.com/zed-industries/zed/assets/107301/d554a41b-5d3f-4420-a857-c64c1747c2d5)

Blurred results from @jansol (on Wayland), who contributed to this work:


![zed-blur](https://github.com/zed-industries/zed/assets/107301/a6822171-2dcf-4109-be55-b75557c586de)

---------

Co-authored-by: Jan Solanti <jhs@psonet.com>

Dzmitry Malyshau and Jan Solanti created

056c785 zig: Bump to v0.1.2 (#11447)

Click to expand commit body
This PR bumps the Zig extension to v0.1.2.

Changes:

- https://github.com/zed-industries/zed/pull/11409

Release Notes:

- N/A

Marshall Bowers created

970a595 elixir: Bump to v0.0.4 (#11446)

Click to expand commit body
This PR bumps the Elixir extension to v0.0.4.

Changes:

- https://github.com/zed-industries/zed/pull/11363

Release Notes:

- N/A

Marshall Bowers created

b25eb9a zig: Fix syntax and file types (#11409)

Click to expand commit body
Fixed autoclosing and made it recognize all ZON (Zig Object Notation)
files.

- Fixed single and double quotes not autoclosing for zig
- Fixed ZON file recognition
- Removed angle brackets autoclosing in zig as they are not used

Release Notes:

- N/A

vali-pnt created

0aab6d8 Fix race condition in editor show_hover (#11441)

Click to expand commit body
The DisplayPoint returned from the position map is only valid at the
snapshot in the position map.

Before this change we were erroneously using it to index into the
current version of the buffer.

Release Notes:

- Fixed a panic caused by a race condition in hover.

Conrad Irwin created

8caca6d docs: Fix some typos (#11443)

Click to expand commit body
This PR fixes some typos in the docs.

Release Notes:

- N/A

Marshall Bowers created

d0c95c2 Add Svelte to list of ESLint languages (#11437)

Click to expand commit body
Release Notes:

- Added ESLint as a default language server for Svelte.

Adam created

910963e docs: Update README (#11442)

Click to expand commit body
This PR updates the docs README with some notes about how to deal with
images.

Release Notes:

- N/A

Marshall Bowers created

237cc9b remoting: Adjust prompt level for dev server prompts (#11440)

Click to expand commit body
This changes the remoting prompts to use `PromptLevel::Warning` instead
of `PromptLevel::Destructive`.
In #11015 we decided to apply PromptLevel::Destructive to prompts other
than the new path picker. However, we did not notice that this breaks
confirmation with the keyboard, so it should really only be used in
specific situations (e.g. replacing a file with the remote "save as"
picker, because it matches the behavior of the macOS file dialog).

Release Notes:

- N/A

Bennet Bo Fenner created

38a50a0 docs: Port over tasks docs from old docs (#11439)

Click to expand commit body
This PR ports over the changes to the "Tasks" page in the docs that were
made in the old docs.

Release Notes:

- N/A

Marshall Bowers created

01aa768 docs: Update system requirements to note Linux and Windows can be built from source. (#11438)

Click to expand commit body
This PR updates the system requirements in the docs to note that Linux
and Windows can be built from source.

This matches the messaging we have in place on the [download
page](https://zed.dev/download).

Release Notes:

- N/A

Marshall Bowers created

d463648 tasks: Prefer worktree tasks to global tasks in tag selection (#11427)

Click to expand commit body
Release Notes:

- Added test indicators in Rust files, backed by task system.

Piotr Osiewicz created

29c675b docs: Change path from `/docs2` to `/docs` (#11436)

Click to expand commit body
This PR changes the docs path from `/docs2` to just `/docs` in
preparation for release.

Release Notes:

- N/A

Marshall Bowers created

bc5f82d elixir: Fix next-ls binary name (#11363)

Click to expand commit body
This is to followup #11318, and the comment from @mhanberg.

Release Notes:

- N/A

Andrei Zvonimir Crnković created

80733e9 Fix `cfg!(target_os)` spelling mistake (#11430)

Click to expand commit body
This PR fixes the spelling mistake cfg!(target_os = "windows")

Release Notes:

- N/A

Zelaren created

27a9498 editor: Fix up task indicators in multibuffers (#11434)

Click to expand commit body
We were retrieving task context incorrectly with a display point row as
the location argument, and not the actual row in the buffer.



Release Notes:

- N/A

Piotr Osiewicz created

593f0e0 remoting: Edit dev server (#11344)

Click to expand commit body
This PR allows configuring existing dev server, right now you can:
- Change the dev servers name
- Generate a new token (and invalidate the old one)

<img width="563" alt="image"
src="https://github.com/zed-industries/zed/assets/53836821/9bc95042-c969-4293-90fd-0848d021b664">


Release Notes:

- N/A

Bennet Bo Fenner created

6e2be28 emmet: Support more languages (#10779)

Click to expand commit body
Hey guys! `emmet-language-server` author here. Thank you so much for the
amazing editor!

This PR adds more languages to the list for the `emmet-language-server`
to attach to.

I have a question though, I saw that you guys don't differentiate yet
between `JavaScript` and `JSX` files. I know that the tree-sitter parser
for `js` comes with the ability to parse both but we still need to make
that difference. Is that part of the plan? or do you have a reason for
doing that?

Aside from that, I've still added support for `JavaScript` files since
is important to have emmet completions in `JSX` files, but I would like
to know what are your thoughts on that since doing this may pollute the
completions in `.js` files.

And one last thing, the emmet language server accepts more filetypes
such as `pug`, `sass`, `scss` and `less` files, which are not currently
supported by zed. Should I create some extensions to add grammar support
to those files later? Should those extensions be part of the zed repo?
I'm just thinking that those are sort of core languages.

Aside from that, let me know if there's anything left to do on my side.
Greetings!

Fixes #10654.

Release Notes:

- N/A

José Olórtegui created

cf6c2da remoting: Register remote modal action when flag is present (#11426)

Click to expand commit body
Fixes #11391

Release Notes:

- N/A

Bennet Bo Fenner created

283d424 remoting: Prevent user from creating multiple dev servers accidentally (#11425)

Click to expand commit body
Fixes #11389 

Release Notes:

- N/A

Bennet Bo Fenner created

c68b700 Fix install.sh to always install to 'zed' (#11370)

Click to expand commit body
This makes our remoting instructions work regardless of which version of
zed is installed.

Release Notes:

- N/A

Conrad Irwin created

08c9157 Standardize TabBar `start_slot` and `end_slot` elements (#11403)

Click to expand commit body
- Unifies spacing between left and right sides of the tab bar
- Use the default icon color for `end_slot` tools. This should help more
clearly differentiate when forward or backward navigation is disabled
due to the tools on the other side not looking so much like the disabled
navigation arrows.
- Rework the TabBar implementation in `pane.rs` to directly pass in
items to the `start_slot` instead of an unneeded extra horizontal
layout.

Left side:

![CleanShot 2024-05-05 at 11 08
35@2x](https://github.com/zed-industries/zed/assets/1714999/ec80fda5-17ce-4cd4-ae54-8c63dcc79e69)

Right side:

![CleanShot 2024-05-05 at 11 09
04@2x](https://github.com/zed-industries/zed/assets/1714999/0281e462-202f-407b-b6b7-7acbcde9138f)

Release Notes:

- Standardized some Tab Bar UI elements. You many notice some slight
spacing or color changes.

Nate Butler created

1e84f01 Use lowercased language name as language id fallback (#11412)

Kirill Bulatov created

5a71d8c Add support for detecting tests in source files, and implement it for Rust (#11195)

Click to expand commit body
Continuing work from #10873 

Release Notes:

- N/A

---------

Co-authored-by: Mikayla <mikayla@zed.dev>

Piotr Osiewicz and Mikayla created

14c7782 chore: Fix main CI after upgrade to Rust 1.78 (#11402)

Click to expand commit body
The CI was green at the time I've merged Rust 1.78, but a change that
violated clippy::empty_doc has slipped through into main in the
meantime. Mea culpa, I should've reran the CI.



Release Notes:

- N/A

Piotr Osiewicz created

1a9b053 Rust 1.78 (#11314)

Click to expand commit body
Notable things I've had to fix due to 1.78:
- Better detection of unused items
- New clippy lint (`assigning_clones`) that points out places where assignment operations with clone rhs could be replaced with more performant `clone_into`
Release Notes:

- N/A

Piotr Osiewicz created

9ec0927 Respect LSP completion triggers when copilot suggestion is on (#11401)

Kirill Bulatov created

89039f6 Restore rendering of assistant tool calls (#11385)

Click to expand commit body
Chat message rendering was restructured in
https://github.com/zed-industries/zed/pull/11327, but it caused tool
calls not to be rendered if the assistant hadn't generated any message
text.

before:

![Screenshot 2024-05-03 at 10 02
57 PM](https://github.com/zed-industries/zed/assets/326587/2b7fd763-0c75-4690-9824-3bd37a3efef2)

after:

<img width="518" alt="Screenshot 2024-05-03 at 11 17 45 PM"
src="https://github.com/zed-industries/zed/assets/326587/34de19ba-daf2-4ac1-9fe0-f51d0ce94872">

Release Notes:

- N/A

Max Brunsfeld created

6964302 More fixes to the semantic index's chunking (#11376)

Click to expand commit body
This fixes a tricky intermittent issue I was seeing, where failed to
chunk certain files correctly because of the way we reuse Tree-sitter
`Parser` instances across parses.

I've also accounted for leading comments in chunk boundaries, so that
items are grouped with their leading comments whenever possible when
chunking.

Finally, we've changed the `debug project index` action so that it opens
a simple debug view in a pane, instead of printing paths to the console.
This lets you click into a path and see how it was chunked.

Release Notes:

- N/A

---------

Co-authored-by: Marshall <marshall@zed.dev>

Max Brunsfeld and Marshall created

335c307 Fix README links (#11382)

Click to expand commit body
This PR fixes the links in the README to account for the changes in the
docs structure.

Also, somehow the README had gotten added with `\r\n` newlines, so I
changed it back to `\n` newlines.

Release Notes:

- N/A

Marshall Bowers created

02a859f docs: Fix favicon (#11381)

Click to expand commit body
This PR fixes the favicon used in the docs so it matches zed.dev.

Release Notes:

- N/A

Marshall Bowers created

f576bd3 Clean up some stray todos (#11380)

Click to expand commit body
Quick little todo comment cleanups, either because they aren't needed or
a comment will suffice.

Release Notes:

- N/A

Kyle Kelley created

15299dc docs: Update "Themes" page (#11379)

Click to expand commit body
This PR updates the "Themes" page in the docs to remove some outdated
copy.

Release Notes:

- N/A

Marshall Bowers created

75a5453 docs: Update inline code style (#11378)

Click to expand commit body
This PR updates the inline code style on the docs to match what we use
on zed.dev.

Release Notes:

- N/A

Marshall Bowers created

d629439 docs: Put redirects underneath `/docs2` path

Marshall Bowers created

0969f31 docs: Update redirects

Marshall Bowers created

8d390f9 docs: Remove unneeded frontmatter from "Themes"

Marshall Bowers created

b2582a7 docs: Force light mode syntax highlighting (#11377)

Click to expand commit body
Release Notes:

- N/A

Co-authored-by: Marshall <marshall@zed.dev>

Conrad Irwin and Marshall created

a497c49 update docs content (#11374)

Click to expand commit body
Move all docs to zed repo

Release Notes:

- N/A

---------

Co-authored-by: Marshall Bowers <elliott.codes@gmail.com>
Co-authored-by: Marshall <marshall@zed.dev>

Conrad Irwin , Marshall Bowers , and Marshall created

3e5dcd1 Attachment store for assistant2 (#11327)

Click to expand commit body
This sets up a way for the user (or Zed) to _push_ context instead of
having the model retrieve it with a function. Our first use is the
contents of the current file.

<img width="399" alt="image"
src="https://github.com/zed-industries/zed/assets/836375/198429a5-82af-4b82-86f6-cb961f10de5c">

<img width="393" alt="image"
src="https://github.com/zed-industries/zed/assets/836375/cfb52444-723b-4fc1-bddc-57e1810c512b">

I heard the asst2 example was deleted in another branch so I deleted
that here too since we wanted the workspace access.

Release Notes:

- N/A

---------

Co-authored-by: Marshall <marshall@zed.dev>

Kyle Kelley and Marshall created

6bdcfad Zeddish docs (#11372)

Click to expand commit body
Co-Authored-By: Marshall <marshall@zed.dev>

Release Notes:

- N/A

---------

Co-authored-by: Marshall <marshall@zed.dev>
Co-authored-by: Marshall Bowers <elliott.codes@gmail.com>

Conrad Irwin , Marshall , and Marshall Bowers created

86696d8 wayland: Implement xdg-activation when opening urls (#11368)

Click to expand commit body
Since Wayland doesn't have a way for windows to activate themselves,
currently, when you click on a link in Zed, the browser window opens in
the background.

This PR implements the `xdg-activation` protocol to get an activation
token, which the browser can use to raise its window.


https://github.com/zed-industries/zed/assets/71973804/8b3456c0-89f8-4201-b1cb-633a149796b7

Release Notes:

- N/A

apricotbucket28 created

dccf6da Setup docs deployments with mdBook (#11369)

Click to expand commit body
This PR sets up deployments for the docs using mdBook.

Right now the new docs are hosted at
[zed.dev/docs2](https://zed.dev/docs2/).

The docs are deployed to Cloudflare Pages on merges to `main`, and we
have a Cloudflare Worker that routes traffic from `zed.dev/docs2` to the
docs deployment.

We can iterate on the docs for a bit, and then promote them to
`zed.dev/docs` when we're all ready for the switchover.

Release Notes:

- N/A

---------

Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>

Marshall Bowers and Conrad Irwin created

6563330 Supermaven (#10788)

Click to expand commit body
Adds a supermaven provider for completions. There are various other
refactors amidst this branch, primarily to make copilot no longer a
dependency of project as well as show LSP Logs for global LSPs like
copilot properly.

This feature is not enabled by default. We're going to seek to refine it
in the coming weeks.

Release Notes:

- N/A

---------

Co-authored-by: Antonio Scandurra <me@as-cii.com>
Co-authored-by: Nathan Sobo <nathan@zed.dev>
Co-authored-by: Max <max@zed.dev>
Co-authored-by: Max Brunsfeld <maxbrunsfeld@gmail.com>

Kyle Kelley , Antonio Scandurra , Nathan Sobo , Max , and Max Brunsfeld created

6109688 Fix backwards mouse selection in vim mode (#11329)

Click to expand commit body
Fixes: #8492

Release Notes:

- vim: Fixed last character of reversed mouse selections (#8492)

Conrad Irwin created

ff56ca7 toml: Bump to v0.1.1 (#11359)

Click to expand commit body
This PR bumps the TOML extension to v0.1.1.

Changes:

- https://github.com/zed-industries/zed/pull/11251

Release Notes:

- N/A

Marshall Bowers created

899f711 elixir: Bump to v0.0.3 (#11358)

Click to expand commit body
This PR bumps the Elixir extension to v0.0.3.

Changes:

- https://github.com/zed-industries/zed/pull/11318

Release Notes:

- N/A

Marshall Bowers created

beee79a toml: Fix language server installation on Windows (#11251)

Click to expand commit body
Release Notes:

- N/A


---

Follow #11156, to make sure extensions install on window.

https://github.com/tamasfe/taplo/releases/tag/0.8.1

The Taplo have `gz` for windows, so we can just use `gz`.

---------

Co-authored-by: Marshall Bowers <elliott.codes@gmail.com>

Jason Lee and Marshall Bowers created

b3d969e elixir: Check for next-ls and lexical in path first (#11318)

Click to expand commit body
Since it's not longer possible to setup a local elixir LSP, @maxdeviant
proposed to look for `next-ls` and `lexical` in path first, just like
it's already done for `elixir_ls`.

For context take a look at #11297 (starting from [this
comment](https://github.com/zed-industries/zed/issues/11297#issuecomment-2091095537)).

Release Notes:

- N/A

Andrei Zvonimir Crnković created

55555bb Enable first version of auto-updates on Linux (#11348)

Click to expand commit body
This downloads Nightly/Preview releases on Linux and copies the contents
the `zed-<channel>.app` to `~/.local`.

What's missing:

- Check if we're not installed in ~/.local and abort
- Update `.desktop` file


Release Notes:

- N/A

Thorsten Ball created