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
8caca6d
docs: Fix some typos (#11443)
This PR fixes some typos in the docs. Release Notes: - N/A
Marshall Bowers created
d0c95c2
Add Svelte to list of ESLint languages (#11437)
Release Notes: - Added ESLint as a default language server for Svelte.
Adam created
910963e
docs: Update README (#11442)
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)
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)
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)
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)
Release Notes: - Added test indicators in Rust files, backed by task system.
Piotr Osiewicz created
29c675b
docs: Change path from `/docs2` to `/docs` (#11436)
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)
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)
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)
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)
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)
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)
Fixes #11391 Release Notes: - N/A
Bennet Bo Fenner created
283d424
remoting: Prevent user from creating multiple dev servers accidentally (#11425)
Fixes #11389 Release Notes: - N/A
Bennet Bo Fenner created
c68b700
Fix install.sh to always install to 'zed' (#11370)
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)
- 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:  Right side:  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)
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)
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)
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)
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:  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)
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)
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)
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)
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)
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)
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)
Release Notes: - N/A Co-authored-by: Marshall <marshall@zed.dev>
Conrad Irwin and Marshall created
a497c49
update docs content (#11374)
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)
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)
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)
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)
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)
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)
Fixes: #8492 Release Notes: - vim: Fixed last character of reversed mouse selections (#8492)
Conrad Irwin created
ff56ca7
toml: Bump to v0.1.1 (#11359)
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)
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)
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)
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)
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
f5e155b
When clicking on a hunk expand it, do not move the caret (#11350)
Release Notes: - N/A
Kirill Bulatov created
3605550
project panel: Allow confirming prompt with keyboard (#11346)
The ability to confirm the file deletion prompt by pressing "Enter" was broken in #11015 Release Notes: - Restored the ability to confirm a prompt by pressing "Enter" when deleting/trashing files
Bennet Bo Fenner created
9348e6f
lsp: More information in error if server fails to start (#11343)
We do log that information, but we don't put it in the error message where it's really useful. Release Notes: - N/A
Thorsten Ball created
f987ff0
Improve JSDoc injection in comments (#10800)
This PR improves JSDoc injection for syntax highlighting. Now we are only injecting JSDoc in block comments. The regex was mostly adapted from nvim-treesitter's implementation (lua) to a rust regex. https://github.com/nvim-treesitter/nvim-treesitter/blob/eb93c3b2fbe9ca55d70e9297d5c037880b997559/queries/ecma/injections.scm#L1-L6 **Before:** <img width="441" alt="Screenshot 2024-04-20 at 5 51 04 AM" src="https://github.com/zed-industries/zed/assets/20072509/8e77851d-22ad-4dc4-8e10-9ac558d3cf40"> **After:** <img width="441" alt="Screenshot 2024-04-20 at 5 52 05 AM" src="https://github.com/zed-industries/zed/assets/20072509/a607c219-6973-40c3-958c-44a003d008c3"> Release Notes: - Changed detection of JSDoc to only do syntax highlighting in block comments. Improved previous work done in #7826.
José Olórtegui created
2306e3c
Add brackets and missing operators to Python grammar (#11180)
Release Notes: - Fixed #4341 Before:  After: 
adorabilis created