Skip to content

Releases: zed-industries/zed

v0.13

26 Jan 22:04
Compare
Choose a tag to compare

Go To Definition

With this release you can now put your cursor on a Rust symbol (e.g., a variable or a function call) and hit F12 to navigate to the location where that symbol was defined.

Navigation History

You can also navigate back (ctrl+-) and forth (ctrl+shift+-) between all the locations you have visited. For example, you might want to check out the definition of a function your code is calling and then go back to the call site.

Improved styling of Project Diagnostics

Screen Shot 2022-01-26 at 11 54 16 AM

v0.12

14 Jan 20:41
Compare
Choose a tag to compare

Format on Save

Rust code is now auto-formatted before every save.

Symbolic Navigation

We've added an Outline View that you can open using Cmd+Shift+o. This view lets you browse through the definitions in the current file, showing their hierarchical structure.

You can also filter the definitions using fuzzy matching. The view shows only the definitions whose names match your fuzzy search query, as well as any larger definitions that contain those matching definitions. If you type a query that contains a space, then your query will be matched against the full text of the definition, together with its containing definitions. For example, if you type im d c fn d, the view will show definitions like impl Drop for Cat fn drop.

Screen Shot 2022-01-14 at 12 18 46 PM

v0.11

11 Jan 17:56
5a889b0
Compare
Choose a tag to compare

Project Diagnostics

This release adds a project diagnostics view. When coding in a compiled language like Rust, you often make a small change to one file that creates a large number of compile errors in many different files. You then need to go fix those compile errors one by one. Zed's new project diagnostics view lets you view all of the compile errors in your project in a single editor that contains excerpts from multiple files.


We're calling this multi-file editor a multibuffer, and soon, we plan to use this same feature for showing other multi-file datasets, like the results of project-wide searches and find all references queries.

Like all features in Zed, this is designed for collaboration. Your project diagnostics are shared along with the rest of your code, and teammates can work together to fix a large list of errors.

Project-wide Sharing

We've simplified Zed's collaboration model so that sharing works on an entire window. The titlebar now contains a button to toggle sharing, and any guests that join a shared window can now see contents of all the folders open in that window.

v0.10.1

18 Dec 19:26
Compare
Choose a tag to compare

Fixed the formatting of single-digit months, days, and minutes in the journaling feature. 🤦

v0.10

18 Dec 18:43
34edbc7
Compare
Choose a tag to compare

We've been working for about three weeks on project-wide error support, and we're excited for what's taking shape. In the meantime however, here's a small release with a couple fun features for writing prose in Zed.

  • We've added basic support for syntax-highlighting markdown.
  • We've added a simple feature to assist with journaling in Zed. If you hit ctrl-alt-cmd-j, Zed will create and open a new file in ~/journal/$year/$month/$day.md and automatically write a markdown heading with the current time. We don't yet have a configuration system in Zed, but once we do, we could potentially make this feature more configurable.

We also fixed a bug in Bézier curve rendering that was causing visual artifacts in some cases.

v0.9

30 Nov 19:17
Compare
Choose a tag to compare

This release includes a large number of small improvements:

  • Collaborators for the active worktree are now rendered in the titlebar
  • Go to line is bound to ctrl-g
  • Enhanced the mouse-based selection UX:
    • Double-click to select by word
    • Triple-click to select by line
    • Quad-click to select all
    • Click and drag in the gutter to select by line
    • Alt-click to add selections
    • Alt-shift-click for columnar selection
  • Select next instance is bound to cmd-d. If your selection is empty, this selects the word under your cursor, then the next instance of that word, etc. If the selection is non-empty, it selects the next text matching the current selection. If you press cmd-k cmd-d, the current selection is moved to the next instance of the selected text.
  • Markdown and plain text are now soft-wrapped at 80 columns. Source code is no longer wrapped, though you'll be able to re-enable this in the settings in the future.
  • Toggle line comments with cmd-/
  • Outdent with shift-tab and improved indent command
  • Fixed issues when moving Zed between monitors displaying at different resolutions

v0.8.0

22 Nov 22:38
Compare
Choose a tag to compare

Zed now displays detailed diagnostic messages directly in the editor. Because errors in Rust are complex and can refer to multiple lines of code, we display all diagnostics related to an error below their respective lines, aligned with the underlined content. To reveal the next diagnostic in the buffer, hit F8.

v0.7

08 Nov 16:07
Compare
Choose a tag to compare

Zed now uses rust-analyzer to underline errors in rust code. We've added a status bar that shows the cursor's position and the first line of messages for errors under the cursor. We'll be following up with a UI for displaying full individual errors within the buffer in an intuitive way.

We also fixed a bug where the app would hang when hovering on tabs with split panes.

Screen Shot 2021-11-03 at 2 24 02 PM

v0.6

21 Oct 07:21
76774d6
Compare
Choose a tag to compare

Zed now performs auto-indent in Rust files based on the syntax tree. Future improvements to Tree-sitter's error recovery will improve the experience, but it's already pretty good for most real-world editing scenarios.

v0.5

08 Oct 13:19
a0c8b60
Compare
Choose a tag to compare

Zed now automatically inserts matching brackets when editing Rust. When typing a closing bracket on top of one that was auto-inserted, Zed automatically skips it. We still have work to do around deleting matching brackets.

autoclose