Nathan Sobo
924ea5da0e
Checkpoint
2023-09-27 22:02:48 -06:00
Conrad Irwin
c43687e3af
Add vim-style completion bindings:
2023-09-27 21:29:18 -06:00
Conrad Irwin
8a1e8314c6
Escape returns to normal mode even if completion is open
...
For zed-industries/community#1746
2023-09-27 21:28:30 -06:00
Nathan Sobo
74c9c84d22
Checkpoint
2023-09-27 21:25:06 -06:00
Nathan Sobo
b369ffe1d6
Checkpoint
2023-09-27 21:14:09 -06:00
Conrad Irwin
bd227c6a5b
Add g space for option-enter
...
vimify all the things
2023-09-27 21:05:58 -06:00
Conrad Irwin
aafd68f93e
Add ctrl-i to go forward
...
For zed-industries/community#1732
2023-09-27 21:04:13 -06:00
Conrad Irwin
a9f0d72019
vim: add ctrl-a/ctrl-x
...
For zed-industries/community#1411
For zed-industries/community#619
2023-09-27 19:49:31 -06:00
Conrad Irwin
d27c98003d
Don't prompt to save unchanged files ( #3053 )
...
- don't prompt to save a set of unchanged files when closing
(preview-only)
2023-09-27 19:20:08 -06:00
Antonio Scandurra
cb2f28a6d4
Fix tests
2023-09-27 18:19:35 -06:00
Antonio Scandurra
f84a84bf07
Introduce a new include_warnings setting under diagnostics
2023-09-27 18:08:08 -06:00
Nathan Sobo
fcaaa51863
Checkpoint
2023-09-27 17:51:12 -06:00
Antonio Scandurra
671e1bb188
Add an include/exclude warnings toggle in project diagnostics
2023-09-27 17:47:19 -06:00
Nathan Sobo
f6843a1544
Checkpoint
2023-09-27 17:25:04 -06:00
Nathan Sobo
5f12e47201
Checkpoint
2023-09-27 17:17:30 -06:00
Conrad Irwin
cbed65851d
fix tests
2023-09-27 17:02:47 -06:00
Conrad Irwin
ba31f4a531
Don't prompt to save unchanged files
2023-09-27 16:07:35 -06:00
Nathan Sobo
8e0523b9b4
Checkpoint
2023-09-27 15:35:51 -06:00
Conrad Irwin
6ca8f83ef0
ctrl-a/x for vim
2023-09-27 12:32:01 -06:00
Joseph T. Lyons
524451d4af
v0.107.x dev
2023-09-27 12:26:48 -04:00
Kyle Caverly
a7959ba488
Revert "leverage file outline and selection as opposed to entire file" ( #3049 )
...
Reverts zed-industries/zed#3040
2023-09-27 12:21:11 -04:00
Kyle Caverly
57652349dd
Revert "leverage file outline and selection as opposed to entire file"
2023-09-27 12:21:03 -04:00
Kyle Caverly
2635802a17
Revert "removed stale dbg in assistant from main" ( #3048 )
...
Reverts zed-industries/zed#3046
2023-09-27 12:19:54 -04:00
Kyle Caverly
4b9ea2b14d
Revert "removed stale dbg in assistant from main"
2023-09-27 12:19:44 -04:00
Julia
bce93d8c25
Bump update notification size back up ( #3047 )
...
Regressed:
<img width="422" alt="CleanShot 2023-09-27 at 11 07 37@2x"
src="https://github.com/zed-industries/zed/assets/30666851/636d7bec-4518-45e6-87bd-84b45dda28e1 ">
Fixed:
<img width="424" alt="CleanShot 2023-09-27 at 11 04 13@2x"
src="https://github.com/zed-industries/zed/assets/30666851/186a1d49-4daf-4211-891a-dacfd1144311 ">
Release Notes:
- N/A
2023-09-27 11:25:16 -04:00
Julia
bebcdced1e
Bump update notification size back up
2023-09-27 11:04:25 -04:00
Piotr Osiewicz
0a1de1f061
search: Reorder items in search bar ( #3039 )
...
Release Notes:
- Reordered items in project and buffer search bar
2023-09-27 16:51:20 +02:00
Kyle Caverly
4a97268c53
implement new search strategy ( #3029 )
...
Augment current search strategy in semantic search, reducing search
times by ~60%
Release Notes:
- Implemented minimum batch sizes for concurrent database reads.
- Batch embedding matrix multiplication.
- Calculate matmul with ndarray
2023-09-27 10:37:48 -04:00
KCaverly
05413774b2
leverage embeddings len returned in construction matrix multiplication
2023-09-27 10:33:04 -04:00
Conrad Irwin
e9ad47aa8e
vim: Fix ctrl-u/ctrl-d ( #3044 )
...
- vim: Fix ctrl-d/ctrl-u to match vim (when :set scrolloff=3)
2023-09-27 07:48:50 -06:00
KCaverly
7d166f0e7b
Merge branch 'main' of github.com:zed-industries/zed into faster_semantic_search
2023-09-27 09:43:39 -04:00
KCaverly
7f6e16e3bd
removed blas and increase batch size for vector search
2023-09-27 09:43:23 -04:00
Kyle Caverly
13f0f18009
removed stale dbg in assistant from main ( #3046 )
...
remove small dbg! statement in main
2023-09-27 09:13:41 -04:00
KCaverly
56c31cb334
removed stale dbg in assistant from main
2023-09-27 09:13:00 -04:00
Kyle Caverly
1e0c1ddee9
leverage file outline and selection as opposed to entire file ( #3040 )
...
Transition generate prompt for inline assist to leverage outline as
opposed to full file.
This enables, us to leverage the inline assist for large files.
Release Notes:
- Change inline assist to use tree-sitter based outlines for code
generation instead of full files
2023-09-27 09:10:18 -04:00
KCaverly
fa98c784f8
update test outline for prompt tests for new cursor span
2023-09-27 09:06:53 -04:00
Piotr Osiewicz
c8ed0a3f4e
language: Add block_comment to CSS ( #3045 )
...
Fixes zed-industries/community#2081
Release Notes:
- Fixed "toggle comment" action not working in CSS buffers.
2023-09-27 11:56:26 +02:00
Conrad Irwin
6fd4a8fcba
vim: Fix ctrl-u/ctrl-d
...
They should work by exactly half a screen, and also move the cursor.
2023-09-26 22:28:04 -06:00
Conrad Irwin
451e57a903
Add SwapPaneInDirection ( #3043 )
...
- Add cmd-k shift-{left,right,up,down} to swap panes in that direction
- vim: Add ctrl-w shift-{h,j,k,l} to swap panes in that direction
([#278 ](https://github.com/zed-industries/community/issues/278 ))
2023-09-26 22:18:02 -06:00
Conrad Irwin
c9da617730
Add SwapPaneInDirection
...
Add keybindings for vim (and non-vim)
2023-09-26 22:00:51 -06:00
Kirill Bulatov
186f3394f0
Hide inlay hints toggle if they are not supported by the current editor ( #3041 )
...
Release Notes:
- N/A
2023-09-27 01:16:02 +03:00
Marshall Bowers
dc103130d4
Add Sized bound to StyleHelpers ( #3042 )
...
This PR adds a `Sized` bound to the `StyleHelpers` trait.
All of the individual methods on this trait already had a `Self: Sized`
bound, so moving it up to the trait level will make it so we don't have
to repeat ourselves so much.
There's an open question of whether we can hoist the `Sized` bound to
`Styleable`, but it's possible there are cases where we'd want to have a
`Styleable` trait object.
Release Notes:
- N/A
2023-09-26 18:15:41 -04:00
Kirill Bulatov
e2f915e53c
Hide inlay hints toggle if they are not supported by the current editor
2023-09-26 23:52:11 +02:00
KCaverly
281575cf21
updated codegen match to leverage unused values
2023-09-26 17:11:20 -04:00
KCaverly
1c2cb80522
update inline generate prompt to leverage more explicit <|START| and |END|> spans
2023-09-26 17:10:31 -04:00
KCaverly and Antonio
35ddeb4dd8
changed inline assist generate prompt to leverage outline as opposed to entire prior file
...
Co-Authored-by: Antonio <antonio@zed.dev >
2023-09-26 16:23:48 -04:00
Antonio Scandurra
2a03891a35
WIP
2023-09-26 13:42:58 -06:00
Joseph T. Lyons
d12eebf692
Rework call events api ( #3038 )
...
There were times when events with bad data were being emitted. What we
found was that places where certain collaboration-related code could
fail, like sending an invite, would still send events; those events
would be in a bad state, as certain elements, such as a room, weren't
constructed as expected, causing the event to have missing data. The new
API guarantees that we have data in the correct configuration. In the
future, we will add events for certain types of failures within Zed, to
cover things like invites failing.
Release Notes:
- N/A
2023-09-26 14:29:25 -04:00
Joseph T. Lyons and Julia
9ee1d7fab2
Rework call events api
...
There were time when events with bad data were being emitted. What we found was that places where certain collaboration-related code could fail, like sending an, would still send events, and those events be in a bad state, as certain elements weren't constructed as expected, thus missing in the event. The new API guarantees that we have data in the correct configuration. In the future, we will add events for certain types of failures within Zed.
Co-Authored-By: Julia <30666851+ForLoveOfCats@users.noreply.github.com >
2023-09-26 14:18:32 -04:00
Piotr Osiewicz
16d9385848
workspace: change save prompt for unnamed buffers ( #3037 )
...
Release Notes:
- N/A
2023-09-26 19:35:10 +02:00