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)
c95a7c7
Address some TODOs in editor2 crate (#3445)
Click to expand commit body
* Fix crash when jumping to definition
* Enabling resolution of completions
* Make links in interactive text clickable
* Enable code paths that use `select_anchors`
This PR updates the (placeholder) breadcrumb to use the new `ButtonLike`
component.
Eventually this will need custom styling (e.g., syntax highlighting for
the symbol children), which is why we're using a `ButtonLike` as opposed
to a regular `Button`.
Release Notes:
- N/A
Marshall Bowers
created
9d53287
Implement `Selectable` for buttons (#3451)
Click to expand commit body
This PR implements the `Selectable` trait for `ButtonLike`, `Button`,
and `IconButton`.
Release Notes:
- N/A
04bbd10
Fix the selected state for the panel icons in the status bar (#3450)
Click to expand commit body
This PR fixes a bug where the selected state for the panel icons in the
status bar was not correctly reflecting whether the panel was open.
It was erroneously using the `is_open` state for the context menu.
Release Notes:
- N/A
Marshall Bowers
created
b357ae4
Add new `Button` and `IconButton` components (#3448)
Click to expand commit body
This PR adds new `Button` and `IconButton` components built on top of
our new button abstractions.
Both of these buttons are built from the common `ButtonLike` base, and
implement the `ButtonCommon` (name TBD) trait in order to provide a
common interface.
There are still some visual tweaks that we'll need to make to the new
buttons, but those should be straightforward to make after we land this.
Release Notes:
- N/A
df5de47
Make `toggle` method accept `impl Into<Option<bool>>` (#3446)
Click to expand commit body
This PR makes the `toggle` method on the various list components accept
an `impl Into<Option<bool>>` instead of just an `Option<bool>`.
This allows a caller with just a `bool` avoid having to wrap the
`Option` themselves.
Release Notes:
- N/A
Marshall Bowers
created
2bd4281
Use pointer cursor style for clickable ranges in InteractiveText