Max Brunsfeld
14a6e54cfb
Include newlines in between combined injection ranges on different lines
2023-07-14 09:25:56 -07:00
Max Brunsfeld
0bde85d0af
Use workspace dependencies for tree-sitter grammars
2023-07-14 09:25:51 -07:00
Max Brunsfeld
5046491590
Find the layer with the smallest enclosing node in language_scope_at
2023-07-14 09:11:56 -07:00
KCaverly
5c8cf633ad
update c embedding query for preceding comments
2023-07-14 11:33:49 -04:00
Kirill Bulatov
26619663ea
Add a new button for the action
2023-07-14 17:32:10 +03:00
Kirill Bulatov
9a9be65585
Preserve serach index for multicaret selection editor events
2023-07-14 14:47:12 +03:00
Nate Butler
bf2124cfbd
Add styles for an action_button ahead of the "Select all matches" UI button
2023-07-14 14:47:12 +03:00
Kirill Bulatov
f7ac191988
Use a better name
2023-07-14 14:47:12 +03:00
Kirill Bulatov
335069750d
Use VSCode-like shortcuts by default
2023-07-14 14:47:12 +03:00
Kirill Bulatov
a050e82102
Allow selecting all search matches in buffer
2023-07-14 14:47:12 +03:00
Mikayla Maki
13685b66b7
Add Svelte support ( #2720 )
...
fixes https://github.com/zed-industries/community/issues/432
Release Notes:
- Added support for the svelte language
2023-07-13 22:43:46 -07:00
Mikayla Maki
408eebaaa2
fmt
2023-07-13 22:32:29 -07:00
Mikayla Maki
7a6a3c83dc
Refine svelte queries to work with zed-style highlights
...
Bump scheme dependency:
2023-07-13 22:30:58 -07:00
Mikayla Maki
9c22679c9b
Add svelte language server
...
Add svelte tree sitter
Add svelte config file
Add svelte highlighting
2023-07-13 21:43:53 -07:00
Mikayla Maki
b999780868
Add line height settings for the editor ( #2718 )
...
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
2023-07-13 16:21:47 -07:00
Mikayla Maki
3026e4e6c0
Add line height settings for the editor
2023-07-13 16:14:33 -07:00
Mikayla Maki
100593fcdd
WIP: Resizing splits ( #2715 )
...
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.
2023-07-13 15:29:34 -07:00
KCaverly and maxbrunsfeld
4e11561005
remove reindexing subscription, and add status methods for vector store
...
Co-authored-by: maxbrunsfeld <max@zed.dev >
2023-07-13 18:14:44 -04:00
Mikayla Maki
b1671a3561
Fix serialization error
2023-07-13 14:48:56 -07:00
Mikayla Maki
0fa93fbecc
tidy up names
2023-07-13 14:34:32 -07:00
Mikayla Maki
dae77f3bca
fmt
2023-07-13 14:21:30 -07:00
Mikayla Maki
39a56db2a3
Add resising serialization
2023-07-13 14:21:14 -07:00
Sergey Onufrienko
8634002ac7
feat: add low, high, range and scaling
2023-07-13 22:09:31 +01:00
KCaverly
20faa9a3b0
update vector store to remove dummy embeddings
2023-07-13 17:01:56 -04:00
KCaverly and maxbrunsfeld
986c7fa5da
add tests for rust context parsing, and update rust embedding query
...
Co-authored-by: maxbrunsfeld <max@zed.dev >
2023-07-13 16:58:42 -04:00
KCaverly and maxbrunsfeld
f870fe84d3
refactored code context retrieval and standardized database migration
...
Co-authored-by: maxbrunsfeld <max@zed.dev >
2023-07-13 16:34:32 -04:00
Mikayla Maki
426e0abad7
Restore active pane magnification
2023-07-13 13:10:36 -07:00
7e9e30e908
Added go parsing for semantic search, and added preceeding comments on go and rust.
...
Co-authored-by: Alex <alexviscreanu@gmail.com >
Co-authored-by: maxbrunsfeld <max@zed.dev >
2023-07-13 14:33:31 -04:00
Mikayla Maki
905a31254f
Styled and refined behavior for split resizing
2023-07-13 11:28:21 -07:00
Nate Butler
a8cfc3705b
Add first line pattern
2023-07-13 12:09:43 -04:00
Nate Butler
409c5dbe1c
WIP
2023-07-13 11:56:53 -04:00
KCaverly
2437cb3224
added semantic search support for c
2023-07-13 10:10:24 -04:00
Piotr Osiewicz
dac14f6308
Update outline queries; add enum as a highlighted keyword
2023-07-13 12:23:49 +02:00
Kirill Bulatov
aa1ed5b450
Update another deprecated plugin ( #2716 )
...
Follow-up of https://github.com/zed-industries/zed/pull/2713 , fixing the
same for the bundling part of the pipeline.
Release Notes:
- N/A
2023-07-13 12:12:42 +03:00
Kirill Bulatov
bb04b5a0eb
Update another deprecated plugin
2023-07-13 11:52:35 +03:00
Mikayla Maki
5902088b70
Add the math for pane resizing
2023-07-12 22:35:51 -07:00
Mikayla Maki
20cb1ae3ca
Added the new elements and wired through the pointers to update the pane axis ratios
2023-07-12 17:53:01 -07:00
Joseph T. Lyons
b09ddc60e2
Fix screen sharing panic introduced by call events ( #2714 )
...
Release Notes:
- Fixed a bug where Zed would crash when enabling screen share.
2023-07-12 16:22:42 -04:00
Joseph T. Lyons and Max Brunsfeld
4516197878
Fix screen sharing panic introduced by call events
...
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com >
2023-07-12 16:12:07 -04:00
Mikayla Maki
fc8f8fb680
WIP
2023-07-12 12:46:56 -07:00
Kirill Bulatov
fbe60b34d2
Update GH Actions ( #2713 )
...
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
2023-07-12 22:25:59 +03:00
Kirill Bulatov
494b26bd13
Update checkout actions
2023-07-12 22:18:37 +03:00
Kirill Bulatov
5d8950e027
Allow all completions with preresolved additional text edits ( #2711 )
...
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
2023-07-12 22:10:18 +03:00
Nate Butler
c83779cd28
Update docs ( #2712 )
...
Update docs
Release Notes:
- N/A
2023-07-12 15:00:11 -04:00
Kirill Bulatov and Max Brunsfeld
a05c1daacd
Force resolve all completions, to ensure their edits are up-to-date
...
co-authored-by: Max Brunsfeld <max@zed.dev >
2023-07-12 21:10:01 +03:00
Nate Butler and Derek Briggs
b1f7d19410
Update building-zed.md
...
Co-Authored-By: Derek Briggs <1648941+PixelJanitor@users.noreply.github.com >
2023-07-12 14:09:21 -04:00
Derek Briggs
e11085f3ee
Update README.md
2023-07-12 11:35:38 -06:00
Piotr Osiewicz and Max
069fe830b5
Fix HTML injections (Thanks Max!)
...
Co-authored-by: Max <max@zed.dev >
2023-07-12 19:33:09 +02:00
Joseph T. Lyons
1060c2e225
v0.96.x dev
2023-07-12 13:30:28 -04:00
Kirill Bulatov
65b409547a
Do not resolve completions if extra edits are available
2023-07-12 20:28:16 +03:00