Max Brunsfeld
b9e0074793
Perform only one git statuses call when reloading a git repo after it changes
2023-07-14 14:29:22 -07:00
Max Brunsfeld
c69d0d50cd
Avoid deserializing all themes to compute settings JSON schema
2023-07-14 14:29:22 -07:00
Alex Viscreanu
031172d3f2
file/symbol navigation modifiers ( #2727 )
...
Fixes https://github.com/zed-industries/community/issues/54
Release Notes:
- Added modifiers for opening files and symbols on a split
- Added modifiers for navigating to definition and type definitions on a
split
2023-07-14 22:03:48 +02:00
Alex Viscreanu and Mikayla Maki
c0b2326053
fix(flexes): reset flexes when collapsing axis
...
Co-authored-by: Mikayla Maki <mikayla@zed.dev >
2023-07-14 21:49:33 +02:00
Alex Viscreanu and Mikayla Maki
c7669317ec
feat(workspace): allow alternative actions to open files and symbols in split
...
Co-authored-by: Mikayla Maki <mikayla@zed.dev >
2023-07-14 21:49:15 +02:00
Piotr Osiewicz
369ccc725c
branch_list: Bail in case of missing worktrees. ( #2726 )
...
Z-2632
Release Notes:
- Fixed a crash that occurred when opening a modal branch picker without
a corktree.
2023-07-14 21:41:11 +02:00
Kirill Bulatov
cde5b3952d
Select all matches ( #2717 )
...
Closes https://github.com/zed-industries/community/issues/75
Closes https://github.com/zed-industries/community/issues/1749
The PR
* changes keybindings for `Editor && mode == auto_height` context:
before, `alt-enter` and `alt-shift-enter` added new lines in such
editors, including the one from buffer search.
New bindings are the same as in `Editor && mode == full` context.
* adds `search::SelectAllMatches` action and binds it to `Alt + Enter`
by default, to select all matches of a buffer search
The behavior mimics VSCode: we do not move the screen even if all
selections are out of the visible range (Cmd+G will navigate there) and
allow reselecting the results from both pane and search field, as long
as the search is not dismissed.
Release Notes:
- Added `search::SelectAllMatches` (`Alt + Enter` default) action to
place carets and select all buffer search results
([#75 ](https://github.com/zed-industries/community/issues/75 ),
[#1749 ](https://github.com/zed-industries/community/issues/1749 )).
2023-07-14 21:37:04 +03:00
KCaverly
2dae42b1ba
update embedding query for tsx to accomodate for leading comments
2023-07-14 14:25:08 -04:00
KCaverly
d4971e9ead
update typescript parsing to manage for leading tsdoc comments
2023-07-14 13:47:10 -04:00
Piotr Osiewicz
c6195e6176
branch_list: Bail in case of missing worktrees.
...
Z-2632
2023-07-14 19:33:27 +02:00
Max Brunsfeld
0f5489397f
Fix syntax map issues that caused bugs in editing HEEx ( #2723 )
...
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.
2023-07-14 10:23:25 -07:00
Piotr Osiewicz
c466711cd1
branch_list: Ensure index is within list bounds. ( #2724 )
...
Z-2630
Release Notes:
- Fixed a crash in branch list that occurred when confirming a match in
empty list.
2023-07-14 19:11:24 +02:00
Piotr Osiewicz
9c150252aa
branch_list: Ensure index is within list bounds.
...
Z-2630
2023-07-14 19:00:14 +02:00
Max Brunsfeld
31720d8825
Add randomized syntax map test with elixir within heex within elixir
2023-07-14 09:58:34 -07:00
Max Brunsfeld
21e7e35e73
Include newlines in between combined injection ranges on different lines
2023-07-14 09:25:56 -07:00
Max Brunsfeld
2f2ef7c165
Use workspace dependencies for tree-sitter grammars
2023-07-14 09:25:51 -07:00
Max Brunsfeld
2e2333107a
Find the layer with the smallest enclosing node in language_scope_at
2023-07-14 09:11:56 -07:00
KCaverly
3a625d15d3
update c embedding query for preceding comments
2023-07-14 11:33:49 -04:00
Kirill Bulatov
b14cd5f56d
Add a new button for the action
2023-07-14 17:32:10 +03:00
Kirill Bulatov
ccc78000bd
Preserve serach index for multicaret selection editor events
2023-07-14 14:47:12 +03:00
Nate Butler
c130dd6b47
Add styles for an action_button ahead of the "Select all matches" UI button
2023-07-14 14:47:12 +03:00
Kirill Bulatov
f710efca3b
Use a better name
2023-07-14 14:47:12 +03:00
Kirill Bulatov
2053418f21
Use VSCode-like shortcuts by default
2023-07-14 14:47:12 +03:00
Kirill Bulatov
29cbeb39bd
Allow selecting all search matches in buffer
2023-07-14 14:47:12 +03:00
Mikayla Maki
bf9dfa3b51
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
f1b034d4f8
fmt
2023-07-13 22:32:29 -07:00
Mikayla Maki
ff8a89a075
Refine svelte queries to work with zed-style highlights
...
Bump scheme dependency:
2023-07-13 22:30:58 -07:00
Mikayla Maki
1424a7a56a
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
415b8f0147
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
77c4fc98bd
Add line height settings for the editor
2023-07-13 16:14:33 -07:00
Mikayla Maki
b7ed467690
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
b38e3b804c
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
50623c018c
Fix serialization error
2023-07-13 14:48:56 -07:00
Mikayla Maki
9da8f609cf
tidy up names
2023-07-13 14:34:32 -07:00
Mikayla Maki
331fd896b5
fmt
2023-07-13 14:21:30 -07:00
Mikayla Maki
5797282b98
Add resising serialization
2023-07-13 14:21:14 -07:00
Sergey Onufrienko
036d3e811a
feat: add low, high, range and scaling
2023-07-13 22:09:31 +01:00
KCaverly
d8fd0be598
update vector store to remove dummy embeddings
2023-07-13 17:01:56 -04:00
KCaverly and maxbrunsfeld
623cb9833c
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
0a0e40fb24
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
00b04f1c85
Restore active pane magnification
2023-07-13 13:10:36 -07:00
5eab628580
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
d5f7ad08fa
Styled and refined behavior for split resizing
2023-07-13 11:28:21 -07:00
Nate Butler
ef7aa66959
Add first line pattern
2023-07-13 12:09:43 -04:00
Nate Butler
9a1a9813cb
WIP
2023-07-13 11:56:53 -04:00
KCaverly
a56d454a07
added semantic search support for c
2023-07-13 10:10:24 -04:00
Piotr Osiewicz
608c16342c
Update outline queries; add enum as a highlighted keyword
2023-07-13 12:23:49 +02:00
Kirill Bulatov
c2ffd8975b
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
8cce403c11
Update another deprecated plugin
2023-07-13 11:52:35 +03:00
Mikayla Maki
26b9be628e
Add the math for pane resizing
2023-07-12 22:35:51 -07:00