Commit Graph
25009 Commits
Author SHA1 Message Date
Nate Butler 33a131682d Checkpoint - Details 2023-09-19 19:18:23 -04:00
Kyle Caverly 8a004641ee Semantic index eval (#2988)
v0 of the Semantic Index evaluate test suite

Release Notes:

- Added eval.rs as an example to the semantic-index crates
- Generates test metrics for two small projects, as a starting point to
systematically evaluate retrieval quality
2023-09-19 19:17:06 -04:00
KCaverly c759bf2cbb fix warnings 2023-09-19 19:05:26 -04:00
KCaverly 974e2bd350 remove git2 dependency for repository cloning in semantic_index eval 2023-09-19 18:55:15 -04:00
Mikayla 299d80fb20 Finish implementing drag and drop 2023-09-19 15:51:00 -07:00
Piotr Osiewicz 36bebf9c3a buffer/replace: Advance match index on each replace. (#2992)
Release Notes:
- Fixed "Replace next" not advancing the match index.
2023-09-19 23:56:22 +02:00
Mikayla 2d6ee42ce3 Improve drag and drop to look and feel better
WIP: Change rendering of drag and drop based on alt-modifier
2023-09-19 14:48:34 -07:00
Kirill Bulatov 975d1c8a3e Send copilot log messages into the log panel 2023-09-19 23:41:55 +03:00
KCaverly 5825854d37 updated git2 to use ssl 2023-09-19 16:36:51 -04:00
KCaverly 4c41833cfb move git2 to workspace dependency globally 2023-09-19 16:13:47 -04:00
Kirill Bulatov c976ae2fc5 Show supplementary language servers in the logs panel 2023-09-19 22:29:27 +03:00
Nathan Sobo ec5811b437 Checkpoint 2023-09-19 13:27:57 -06:00
Nathan Sobo b40a92a9d6 Checkpoint 2023-09-19 13:09:00 -06:00
Kirill Bulatov ad18a85e3e Send and receive Copilot events 2023-09-19 21:53:31 +03:00
Mikayla 22c91526a6 Add basic drag and drop support 2023-09-19 11:20:01 -07:00
Kyle Caverly ffb0443fa3 remove release channel flags in semantic_index (#2989)
Remove Release channel filters from semantic_index allowing the index to
be released to stable.

Release Notes:

- Remove Release channel filters in enabled and semantic_index
initialization
2023-09-19 12:39:26 -04:00
Nate ButlerandJulia 3571fc880e Draw indent guides using indent_level
Co-Authored-By: Julia <30666851+ForLoveOfCats@users.noreply.github.com>
2023-09-19 12:38:46 -04:00
KCaverly 0bb039bfb7 formatting 2023-09-19 12:27:33 -04:00
KCaverly 354db120f4 remove release channel flags in semantic_index 2023-09-19 12:20:59 -04:00
Nate ButlerandJulia 3a479d5e8a use u32 as indent_level
Co-Authored-By: Julia <30666851+ForLoveOfCats@users.noreply.github.com>
2023-09-19 11:59:55 -04:00
Nate ButlerandJulia e99a40a8fb Make list_item toggleable, improve optional left_icon on list item
Co-Authored-By: Julia <30666851+ForLoveOfCats@users.noreply.github.com>
2023-09-19 11:52:35 -04:00
KCaverly 71862a72a8 fix Cargo.lock for merge 2023-09-19 11:44:51 -04:00
Nathan Sobo c3dfc061b1 WIP 2023-09-19 08:46:02 -06:00
Kirill Bulatov c9413551d0 Add Copilot server to LSP logs panel 2023-09-19 16:25:09 +03:00
Nate Butler 4be4b29be0 WIP 2023-09-19 08:31:22 -04:00
Kirill Bulatov 9738786fa4 Add a specific server id to a Copilot LSP 2023-09-19 12:32:05 +03:00
Kirill Bulatov c28097b5af Automatically subscribe for lsp logs of every server added
Avoid re-adding the server on new logs events.
2023-09-19 11:52:21 +03:00
Nate Butler ad9c0e70ca Merge branch 'main' into nate/gpui2-ui-components 2023-09-19 00:26:41 -04:00
Nate Butler 500f35cb03 Add icon, list_item, work on project panel 2023-09-19 00:25:46 -04:00
Mikayla 5b4d4900cd Finish optimizing channel representations and operations 2023-09-18 20:24:37 -07:00
Nathan Sobo e4abc28827 Add negative style helpers 2023-09-18 20:47:40 -06:00
Nathan Sobo 1c8ce737b2 Add Element::when method 2023-09-18 20:25:12 -06:00
Nathan Sobo 4b86052007 Checkpoint 2023-09-18 20:17:27 -06:00
Nathan Sobo 4b3522984c Checkpoint: Add methods for setting arbitrary lengths 2023-09-18 19:48:22 -06:00
Nate Butler 41b39037dc Checkpoint 2023-09-18 19:59:01 -04:00
Nathan Sobo 96d5f06fe9 Checkpoint 2023-09-18 17:40:47 -06:00
KCaverly fd6b113eba add recall and precision to semantic index 2023-09-18 18:25:02 -04:00
Conrad Irwin f4883e4bd8 vim: Use explicit global, not default 2023-09-18 14:22:41 -06:00
Conrad Irwin 09b311207b Fix vim-related panic (#2986)
Release Notes:

- fix panic that happens during collaboration (preview-only)
2023-09-18 12:21:38 -06:00
Conrad Irwin acb37194c2 Fix vim-related panic 2023-09-18 12:13:50 -06:00
Piotr Osiewicz ed5e35b79c chore: Enable v0 symbol mangling (#2985)
https://github.com/rust-lang/rust/issues/60705
Due to modification of .cargo/config.toml your `cargo build` should pick
this change up automatically. Use `legacy` instead of `v0` if you find
yourself in need of old mangling scheme for whatever reason
Release Notes:

- Improved precision of backtraces in application crashes
2023-09-18 18:58:59 +02:00
Piotr Osiewicz 5fe12ec616 chore: Use aho-corasick 1.1 in direct dependencies (#2983)
Nothing too fancy, we've depended indirectly on 1.0/1.1 already, so this
is essentially bookkeeping.

Release Notes:
- N/A
2023-09-18 17:01:08 +02:00
Conrad Irwin 39e97afdc2 vim: Fix Y on last line (#2975)
For zed-industries/community#2044

Release Notes:

- vim: Fix y in VISUAL LINE mode when last line has no trailing newline
([#2044](https://github.com/zed-industries/community/issues/2044)).
2023-09-18 08:54:48 -06:00
Conrad Irwin eb52ba7432 clip FoldPoint earlier (#2982)
fold_point_to_display_point calls to_offset on the fold point, which
panics if it hasn't been clipped.

https://zed-industries.slack.com/archives/C04S6T1T7TQ/p1694850156370919

Release Notes:

- vim: Fix a crash when moving up/down in some circumstances.
2023-09-18 08:53:38 -06:00
Conrad Irwin 5334a632cc Clip twice 2023-09-18 08:28:21 -06:00
KCaverly 65f5d8f22e add map to evaluation suite for semantic_index 2023-09-18 09:57:52 -04:00
Piotr Osiewicz ed9b176d52 chore: Hoist non-generic part out of add_action_internal. (#2981)
add_action_internal shows up often in downstream crates (as it should
be, since it's a generic function it's codegened in each crate that uses
it); it adds non-trivial amounts of LLVM IR to the build as a whole
which we can cut down a bit by doing the inner fn trick.

Release Notes:

- N/A
2023-09-18 11:55:44 +02:00
Conrad Irwin 1570a016b0 clip FoldPoint earlier
fold_point_to_display_point calls to_offset on the fold point, which
panics if it hasn't been clipped.

https://zed-industries.slack.com/archives/C04S6T1T7TQ/p1694850156370919
2023-09-16 12:58:39 -07:00
Mikayla Maki 9b35f32deb Added 'open in terminal' action to the project panel context menu (#2980)
Also slightly re-arranged the project panel context menu

Release Notes:

- Added an 'open in terminal' action to the context menu on folders in
the project panel
2023-09-15 21:49:04 -07:00
Mikayla cdacfb23d0 Added 'open in terminal' action to the project panel context menu
Also slightly re-arranged the project panel context menu
2023-09-15 21:33:22 -07:00