Commit log

9d3048e v0.29.0

Max Brunsfeld created

b07b088 Merge pull request #863 from zed-industries/fix-project-symbols-crash

Click to expand commit body
Fix project symbols crash

Max Brunsfeld created

3619d4c Always notify a Picker when its delegate notifies

Max Brunsfeld created

84df1d6 Add unit test for project symbols that demonstrates crash

Max Brunsfeld created

b1f9d9d Merge pull request #851 from zed-industries/vim-delete-jk-fix

Click to expand commit body
Linewise motions fix

Keith Simmons created

7bc6f8b Build tokens for Figma

Nate Butler created

09634df Merge pull request #846 from zed-industries/update-themes-04-19

Click to expand commit body
Update theme for command palette, inputs, tabs, autocomplete

Nate Butler created

ea11f2e Increase min-width for all Pickers, minor style changes

Click to expand commit body
- Increases the Picker min-width from 500 to 540
- Makes some changes to the styling of keyboard shortcuts in the command palette

Nate Butler created

1da5150 Merge pull request #859 from zed-industries/cli

Click to expand commit body
Add a zed command-line tool

Antonio Scandurra created

a210b05 Remove `App::on_open_files`, as it's a subset of `on_open_urls`

Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>

Antonio Scandurra and Nathan Sobo created

d725876 :lipstick:

Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>

Antonio Scandurra and Nathan Sobo created

07562c2 Locate app bundle based on location of CLI binary

Click to expand commit body
The app bundle can also be specified via `-b` or `--bundle-path`.

Co-Authored-By: Nathan Sobo <nathan@zed.dev>

Antonio Scandurra and Nathan Sobo created

f77239b Add application menu to install CLI

Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>

Antonio Scandurra and Nathan Sobo created

926c75d Implement `zed --version`

Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>

Antonio Scandurra and Nathan Sobo created

5ab35bd Remove stray dbg

Antonio Scandurra created

f7055c2 Implement `zed --wait`

Antonio Scandurra created

b013b1b Call `language::init_test` in `test_single_file_worktrees_diagnostics`

Antonio Scandurra created

b3f2b7a Use osascript to escalate privileges and copy the CLI to /usr/local/bin

Antonio Scandurra created

0d9a0e2 Avoid permissions error when installing CLI symlink

Max Brunsfeld created

fbd1afc Add a command for installing the CLI

Max Brunsfeld created

eee1cec :art: Remove unnecessary JoinProjectParams struct

Max Brunsfeld created

184a454 Update bundle script to include fat CLI binary

Max Brunsfeld created

a81f7eb Locate the Zed app from the CLI using NSWorkspace API

Max Brunsfeld created

43763fa Allow opening paths from the CLI

Click to expand commit body
Co-Authored-By: Antonio Scandurra <me@as-cii.com>

Max Brunsfeld and Antonio Scandurra created

05c44b9 Process incoming CLI requests on the main thread

Nathan Sobo created

75f0326 Use ipc_channel crate to communicate between cli and app

Click to expand commit body
We still aren't handling CLI requests in the app, but this lays the foundation for bi-directional communication.

Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>

Nathan Sobo and Max Brunsfeld created

01eb2dc WIP: Start on a new `cli` crate

Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>

Antonio Scandurra and Nathan Sobo created

0c98168 v0.28.1

Antonio Scandurra created

b9511af Merge pull request #860 from zed-industries/fix-more-project-diagnostics-cycles

Click to expand commit body
Don't emit event when LSP reports consecutive empty diagnostics

Antonio Scandurra created

8ef6b1d Don't emit event when LSP reports consecutive empty diagnostics

Click to expand commit body
This is related to #849: in that pull request we avoided *storing*
empty diagnostics, but we'd still report an event when receiving
consecutive empty diagnostics. So if the project diagnostics editor
was open, it could happen that opening a buffer would cause the
language server to report zero diagnostics. We would therefore close
the buffer because there were no diagnostics, but doing so would cause
the LSP to report another event with zero diagnostics. This would repeat
forever, causing Zed to use a lot of CPU and the UI not to refresh properly.

With this commit we will simply avoid emitting a `DiagnosticsUpdated` event
altogether if no diagnostics were present before *and* the LSP is reporting
a `PublishDiagnostics` event with no diagnostics in it.

Antonio Scandurra created

c2fa7b9 Merge pull request #857 from zed-industries/file-finder-fixes

Click to expand commit body
File finder fixes

Max Brunsfeld created

717ebe6 Don't cancel match updates when picker query changes

Click to expand commit body
The file finder often cancels an in-progress match task when
the project updates. But it still needs to take the matches
that it did find and add them to its results. So we should
not cancel the entire task, as this will cause the
partial results to be discarded.

Max Brunsfeld created

4737967 Update file finder correctly when project files change

Max Brunsfeld created

8ff0277 Handle linewise motions correctly and fix panic when executing invalid actions

Keith Simmons created

93d307a Navigate to best match when updating outline view query

Click to expand commit body
Co-Authored-By: Antonio Scandurra <me@as-cii.com>
Co-Authored-By: Keith Simmons <keith@the-simmons.net>
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>

Nathan Sobo , Antonio Scandurra , Keith Simmons , and Max Brunsfeld created

360b876 v0.28.0

Click to expand commit body
Co-Authored-By: Antonio Scandurra <me@as-cii.com>

Nathan Sobo and Antonio Scandurra created

e8728f4 Merge pull request #849 from zed-industries/fix-project-diagnostic-ui-glitch

Click to expand commit body
Remove summaries that don't contain any errors or warnings

Antonio Scandurra created

ef784cf Remove summaries that don't contain any errors or warnings

Click to expand commit body
When opening a buffer, some language servers might start reporting
diagnostics. When closing a buffer, they might report that no diagnostics
are present for that buffer. Previously, we would keep an empty summary entry
which would cause us to open a buffer in the project diagnostics view, only to
drop it because it contained no diagnostics. However, the act of opening it
caused the language server to asynchronously report non-empty diagnostics.
We would therefore handle this as an update, but the previous closing of the
buffer would cause the language server to report empty diagnostics again. This
would cause the project diagnostics view to thrash infinitely between these two
states, pegging the CPU and constantly refreshing the UI.

With this commit we won't maintain empty summary entries for files that contain
no diagnostics, which fixes the above issue.

Co-Authored-By: Nathan Sobo <nathan@zed.dev>

Antonio Scandurra and Nathan Sobo created

1cd23df Merge pull request #848 from zed-industries/out-of-sync-diagnostics

Click to expand commit body
Use the entire `ProjectPath` to find open buffer for an LSP diagnostic

Antonio Scandurra created

eaa6637 Use the entire `ProjectPath` to find open buffer for an LSP diagnostic

Click to expand commit body
Previously, we would only compare the path relative to the worktree root, which
would cause Zed to sometimes update diagnostics on the wrong buffer. This
manifested in the project diagnostics not showing those errors/warnings while
the status bar and the tab title displayed a summary with errors/warnings.

This commit simply uses `Project::get_open_buffer` which correctly locates a
buffer with the given project path.

Antonio Scandurra created

484204c Reduce key icon size to avoid extra padding on command palette item

Click to expand commit body
- Also remove unneeded imports

Nate Butler created

408f8d4 Update inputs, tabs, pickers, autocomplete

Nate Butler created

d99c74d Merge pull request #823 from zed-industries/command-palette

Click to expand commit body
Command palette

Max Brunsfeld created

0af129d Use primary text color for keystrokes in command palette

Max Brunsfeld created

d8ad0d8 Format action names more readably in command palette

Click to expand commit body
Also add a unit test for the command palette

Max Brunsfeld created

a4f2590 tmp

Max Brunsfeld created

11eba96 Allow toggling other modals from the command palette

Max Brunsfeld created

f5377c2 Highlight fuzzy match positions in command palette

Max Brunsfeld created

3bbc021 Use Picker in Outline view

Max Brunsfeld created

c56e2ea Fix hang when dropping ::scoped future under deterministic executor

Click to expand commit body
Co-authored-by: Nathan Sobo <nathan@zed.dev>
Co-authored-by: Keith Simmons <keith@zed.dev>

Max Brunsfeld , Nathan Sobo , and Keith Simmons created