cb11c12
Re-introduce active path tracking in workspace
Max Brunsfeld
created
a003a91
Restore auto-save on focus change, re-enable workspace tests
Max Brunsfeld
created
bac39e8
Add some text to clarify no api key state (#3462)
Click to expand commit body
This PR is a quick-and-dirty approach to clarify what is happening when
a user doesn't have an API key so the assistant opens with the key
editor.
- Adds some text explaining how to close the panel
- Explains that other subscriptions don't cover the assistant, it needs
an api key.
- Helps people understand where to go to get an API key.
This is a Zed 1 change only, a bandaid. Zed 2 will have a better
solution: [Working
issue](https://github.com/zed-industries/zed/issues/3461)
Release Notes:
- N/A
Co-Authored-By: Joseph T. Lyons <19867440+JosephTLyons@users.noreply.github.com>
Co-Authored-By: Conrad Irwin <conrad.irwin@gmail.com>
Nate Butler
,
Joseph T. Lyons
, and
Conrad Irwin
created
e5a5b1e
Rework `ListHeader` to be more open (#3467)
Click to expand commit body
This PR reworks the `ListHeader` component to be more open.
The `meta` method can now be used to append meta items of any element to
the `ListHeader`, and they will be rendered with the appropriate spacing
between them.
Release Notes:
- N/A
Marshall Bowers
created
5098faf
Add `v_stack` and `h_stack` to the UI prelude
Click to expand commit body
Co-Authored-By: Joseph T. Lyons <19867440+JosephTLyons@users.noreply.github.com>
Co-Authored-By: Conrad Irwin <conrad.irwin@gmail.com>
Nate Butler
,
Joseph T. Lyons
, and
Conrad Irwin
created
bd6fa66
Bump Tree-sitter to fix another crash triggered by a markdown file (#3466)
Click to expand commit body
Bumps Tree-sitter for
https://github.com/tree-sitter/tree-sitter/pull/2802
This fixes a regression introduced in the last Tree-sitter upgrade.
Release Notes:
- Fixed a crash that occurred when editing certain Markdown files.
3ffcb97
Implement `Selectable` for list components (#3465)
Click to expand commit body
This PR implements the `Selectable` trait for the `ListItem` and
`ListHeader` components.
These components already had their own selectable behavior, but weren't
formally adhering to the interface defined by the trait.
Release Notes:
- N/A
Marshall Bowers
created
e78538e
Implement `Selectable` for `ListItem` and `ListHeader`
cdae8eb
Exclude gitignored files' diagnostics from project panel and its indicator. (#3458)
Click to expand commit body
Based on influencer's feedback.
The diagnostics are collected and available still, since that might
become a settings/UI toggle later.
Also, buffer diagnostics are still updated for gitignored files.
Release Notes:
- Excluded gitignored files' diagnostics from project panel and its
indicator.
69bfd47
Exclude gitignored files' diagnostics from project panel and its indicator.
Click to expand commit body
The diagnostics are collected and available still, since that might become a settings/UI toggle later.
Also, buffer diagnostics are still updated for gitignored files.
Deals with https://github.com/zed-industries/community/issues/2124
* sends more ClientCapabilities LSP data, diagnostics capabilities in
particular: those are now required by typescript-language-server LSP to
start publishing diagnostics
* sends more parameters during eslint workspace initialization, so it is
able to correctly look up project's typescript config
Presumably, it's not enough and some convoluted project set ups may
break still, but let's wait for examples and feedback.
Release Notes:
- Fixed typescript-language-server diagnostics not appearing for newer
server versions; fixed eslint diagnostics using wrong directory for
typescript config lookup
Kirill Bulatov
created
74a5ae5
Re-introduce screen-sharing in zed2 (#3456)