Commit Graph
12022 Commits
Author SHA1 Message Date
Kirill Bulatov f1eaa9e4cd Use inlay highlights in randomized tests 2023-08-25 14:26:17 +03:00
Kirill Bulatov 5261180929 Simplify and restore client resolve capabilities 2023-08-25 14:26:17 +03:00
Kirill Bulatov 6b7c2f1dc0 Fix resolve status conversion 2023-08-25 14:26:17 +03:00
Kirill Bulatov 05b8754d9f Propagate inlay background highlights to data storage 2023-08-25 14:26:17 +03:00
Kirill Bulatov bca725ef71 Prepare background highlights for inlay highlights 2023-08-25 14:26:17 +03:00
Kirill Bulatov 9aa19291bb Unify text and inlay highlights 2023-08-25 14:26:17 +03:00
Kirill Bulatov a4bf016b0c Prepare for inlay and text highlight unification 2023-08-25 14:26:17 +03:00
Kirill BulatovandAntonio 46253415c2 Highlight inlay hint parts on cmd-hover
Co-Authored-By: Antonio <antonio@zed.dev>
2023-08-25 14:26:17 +03:00
Kirill Bulatov 92ceaeaa9d Attempt to highlight inlays 2023-08-25 14:26:17 +03:00
Kirill Bulatov a950eb41dd Pass inlay highlight information 2023-08-25 14:26:17 +03:00
Kirill Bulatov a2a60c6d84 Properly resolve inlay label parts' locations and buffers 2023-08-25 14:26:17 +03:00
Kirill Bulatov 502c866e1c Pass inlay go to definition data 2023-08-25 14:26:17 +03:00
Kirill Bulatov 672edc6007 Prepare for hover functionality refactoring 2023-08-25 14:26:17 +03:00
Kirill Bulatov de60646f8f Send inlay hint resolve requests 2023-08-25 14:26:17 +03:00
Kirill Bulatov 64aaa33e08 Store inlay hint resolve data 2023-08-25 14:26:17 +03:00
Kirill Bulatov e4f42bd33d Revert "Strip off inlay hints data that should be resolved"
Without holding all hints in host's cache, this is impossile.
Currenly, we keep hint caches separate and isolated, so this will not
work when we actually resolve.
2023-08-25 14:26:17 +03:00
Kirill Bulatov aa00b37941 Properly detect hovered inlay hint label part 2023-08-25 14:26:17 +03:00
Kirill Bulatov b048fa1820 Draft inlay hint part hover detection 2023-08-25 14:26:17 +03:00
Antonio Scandurra 49c0c841c2 Improve background highlighting of inline assists 2023-08-25 12:35:36 +02:00
Antonio Scandurra 817dd0e370 Use a left bias for the prompt editor 2023-08-25 12:25:43 +02:00
Antonio Scandurra eae4fdd053 Allow generating code without editing it 2023-08-25 12:16:28 +02:00
Antonio Scandurra c549cdb9b2 Rework inline assistant 2023-08-25 11:39:27 +02:00
Kyle Caverly 7c7abfda35 Eager Semantic Indexing Queue (#2886)
Optimization to the Semantic Indexing Engine.

We've transitioned from a framework in which the entire project tree is
walked at each index command, to an eager queuing method, in which an
initial queue of outstanding indexing work is initialized upon workspace
creation, and then subscriptions are leveraged for file change events to
continually keep an updated view on outstanding work.

This optimization contributes towards quicker user feedback, when
initializing or using Semantic Search functionality. It also opens the
doors towards better transparency across the system on outstanding
indexing work.

Release Notes:

- Refactored index operation queue to an eager queuing framework.
- Moved semantic search initialization to workspace creation.
- Adjusted rate limiting strategy on api delays to reduce time spent
waiting for rate limits.
2023-08-25 11:03:05 +02:00
KCaverly 0f2cb8b95a cleaned up warnings 2023-08-25 10:38:01 +02:00
Joseph T. Lyons b15de443bb Automatically enable project search filters when using Search Inside (#2889)
Now that the filters are hidden behind a toggle-able setting, running
the `Search Inside` action from the project panel feels a bit weird,
since the filter being used is hidden. This PR automatically opens that
filter section after running a `Search Inside` action.

Release Notes:

- N/A
2023-08-25 02:39:44 -04:00
Joseph T. Lyons a17c436619 Automatically enable project search filters when using Search Inside 2023-08-25 02:21:07 -04:00
Joseph T. Lyons 94ab92968d Merge branch 'main' into add-setting-to-automatically-enable-virtual-environment 2023-08-25 01:50:57 -04:00
Joseph T. Lyons 708cdd345f WIP 2023-08-25 01:50:54 -04:00
Mikayla Maki c4e7adf6f0 Introduce channel notes (#2880)
![Screen Shot 2023-08-24 at 5 26 53
PM](https://github.com/zed-industries/zed/assets/326587/3e84c5a6-1aaf-4335-a880-4c32eb83332d)

### Todo

* [x] Snapshot channel buffers when everyone closes the buffer
* [x] Ensure that users who are in both a project and a channel note
have the same color in both places
* [x] Allow following project collaborators into channel notes
* [x] Expose notes for the current channel under "Current Call" section
of the collaboration panel
* [x] Offline state for the channel notes view
* [x] Make the channel context menu accessible to all members (to expose
the notes)
* [x] Wire in view and Item method overrides

Release Notes:

- N/A
2023-08-24 18:01:28 -07:00
Max BrunsfeldandMikayla 90b815e2f9 Make channel notes view searchable and navigable via pane history
Co-authored-by: Mikayla <mikayla@zed.dev>
2023-08-24 17:18:18 -07:00
Max BrunsfeldandMikayla c282660874 Show non-admin context menu items for all channel members
Co-authored-by: Mikayla <mikayla@zed.dev>
2023-08-24 17:17:20 -07:00
Max BrunsfeldandMikayla a1dca70e81 Avoid creating redundant snapshots of channel notes buffers
Co-authored-by: Mikayla <mikayla@zed.dev>
2023-08-24 16:55:45 -07:00
Max BrunsfeldandMikayla d2f44b9f20 Make channel notes read-only when disconnected
Co-authored-by: Mikayla <mikayla@zed.dev>
2023-08-24 16:50:13 -07:00
Max BrunsfeldandMikayla ba83a0f144 Show channel notes in current call section of collab panel
Co-authored-by: Mikayla <mikayla@zed.dev>
2023-08-24 15:00:54 -07:00
Max BrunsfeldandMikayla 481af386f1 Dedup channel views
Co-authored-by: Mikayla <mikayla@zed.dev>
2023-08-24 14:29:04 -07:00
Max Brunsfeld 910fc819bd Dedup channel buffers 2023-08-24 13:40:44 -07:00
Max BrunsfeldandMikayla 0683b3d9ea Replicate editor state when following into channel notes
Co-authored-by: Mikayla <mikayla@zed.dev>
2023-08-24 12:36:01 -07:00
Max BrunsfeldandMikayla d5b7254ce0 Ensure collaborators cursor colors are the same in channel buffers as in projects
Co-authored-by: Mikayla <mikayla@zed.dev>
2023-08-24 11:31:41 -07:00
Max BrunsfeldandMikayla eb33452dc2 Fix error in update_channel_buffer when there are no operations to store
Co-authored-by: Mikayla <mikayla@zed.dev>
2023-08-24 11:26:22 -07:00
Mikaylaandmax 6c78ea2f24 Add following into channel notes
co-authored-by: max <max@zed.dev>
2023-08-24 11:25:20 -07:00
Antonio Scandurra 823d0e2161 WIP 2023-08-24 20:00:25 +02:00
Conrad Irwin c1bf759401 vim: Fix linewise copy of last line with no trailing newline (#2885)
Along the way, delete the VimBindingTestContext by updating the
visual tests to no-longer need it.


Release Notes:

- vim: Fix `y` when on the last line of a file with no trailing newline.
2023-08-24 10:45:46 -06:00
KCaverly f5e8f26999 add handling for Added file events to semantic index 2023-08-24 18:40:08 +02:00
Antonio Scandurra c7761877de Add todo for modal assistant 2023-08-24 17:33:59 +02:00
Antonio Scandurra cf49248b8a WIP 2023-08-24 17:23:12 +02:00
Antonio Scandurra e795332e4f Improve scoring 2023-08-24 16:32:55 +02:00
Antonio Scandurra 15f5df30c2 Move to an inline refactoring prompt 2023-08-24 15:46:18 +02:00
Antonio Scandurra 54591bf06b Always clear refactoring text highlights, even if an error occurs 2023-08-24 14:29:05 +02:00
Antonio Scandurra 07fac03f4f Rename merge_transaction_into to merge_transactions 2023-08-24 14:26:42 +02:00
KCaverlyandPiotr abf80df3ac update initialize project call to accomodate for test scenarios
Co-authored-by: Piotr <piotr@zed.dev>
2023-08-24 13:46:43 +02:00