0f54893
Fix syntax map issues that caused bugs in editing HEEx (#2723)
Click to expand commit body
Fixes [Z-2575 : HEEX files are using deprecated commenting
sytle](https://linear.app/zed-industries/issue/Z-2575/heex-files-are-using-deprecated-commenting-sytle)
- Fixed a bug where comment toggling and bracket matching used the wrong
characters in templating languages like ERB and HEEx
([#1724](https://github.com/zed-industries/community/issues/1724)).
- Fixed a bug where interpolated code was sometimes not parsed correctly
within templating languages like ERB and HEEx.
Max Brunsfeld
created
c466711
branch_list: Ensure index is within list bounds. (#2724)
Click to expand commit body
Z-2630
Release Notes:
- Fixed a crash in branch list that occurred when confirming a match in
empty list.
Piotr Osiewicz
created
9c15025
branch_list: Ensure index is within list bounds.
Click to expand commit body
Z-2630
Piotr Osiewicz
created
31720d8
Add randomized syntax map test with elixir within heex within elixir
Max Brunsfeld
created
21e7e35
Include newlines in between combined injection ranges on different lines
Max Brunsfeld
created
2f2ef7c
Use workspace dependencies for tree-sitter grammars
Max Brunsfeld
created
2e23331
Find the layer with the smallest enclosing node in language_scope_at
Max Brunsfeld
created
3a625d1
update c embedding query for preceding comments
415b8f0
Add line height settings for the editor (#2718)
Click to expand commit body
I'm a bit tired of the complaining for this feature. But also, we should
have it. Hence, this PR.
fixes:
https://github.com/zed-industries/community/issues/304#issue-1305112032
Release Notes:
- Added a `buffer_line_height` setting
We're finally doing the thing.
TODO:
- [x] Choose an approach
- Decided to add a new element just for the pane axis, containing a
slimmed down copy of the flex code.
- [x] Wire through callbacks and pointers so that data goes where it
needs to
- [x] Do the flex juggling math on resize
- [x] Update the flexes when updating the split tree
- [x] Restore the active_pane_magnification setting
- [x] Serialize an axis' flexes
Release Notes:
- Made the center pane group splits resizable. Note that resizing is
disabled if the `active_pane_magnification` setting is changed from
default.
Mikayla Maki
created
b38e3b8
remove reindexing subscription, and add status methods for vector store
Fixes deprecation warnings the CI jobs started to have:
https://github.com/zed-industries/zed/actions/runs/5535503789
<img width="1383" alt="image"
src="https://github.com/zed-industries/zed/assets/2690773/a33ecc2a-d6d3-451d-8033-da5754df4731">
Release Notes:
- N/A
d164034
Allow all completions with preresolved additional text edits (#2711)
Click to expand commit body
Deals with https://github.com/zed-industries/community/issues/752
Deals with https://github.com/zed-industries/community/issues/566
Currently, when converting from LSP to Zed objects, completions with
non-empty `additional_text_edits` are filtered out.
Later, all other completions form a list and the selected one gets the
`Editor::confirm_completion` call, which always queries an LSP
completion resolve request to get the `additional_text_edits` field.
Otherwise, `additional_text_edits` field is ignored entirely for the
rest of the completion lifetime βΒ and we always pass the selected
completion through the resolve request.
The PR changes the logic, removing the `additional_text_edits` filtering
and instead of resolving every completion, now we check for
`additional_text_edits` in the completion before resolving: resolve
happens only if the data is absent.
Generally, feels like resolve has to happen before the completion
selection: LSP servers may send us markdown for completion documentation
preview pop ups and similar extra info.
Also, the server may lack resolve capabilities entirely, always sending
the request seems dangerous.
For now, the PR does not attempt to change either.
Release Notes:
- Brings rust-analyzer's postfix completions and others completions with
preresolved additional text edits