Kirill Bulatov
2670e2c9ec
Support editor::SelectAll in Terminal ( #2848 )
...

Allows to use `editor::SelectAll`(`cmd-a` by default) in Terminal to
select all text in it, for future copying.
Currently, does not try to be smart and trim the selected whitespaces
after the last prompt, and copies them too.
Release Notes:
- Support `editor::SelectAll` in Terminal
2023-08-15 23:59:26 +03:00
Kirill Bulatov
de69f08c10
Support editor::SelectAll in Terminal
2023-08-15 23:43:32 +03:00
Max Brunsfeld and Mikayla
943aeb8c09
Run until parked when setting editor's state via EditorTestContext
...
Co-authored-by: Mikayla <mikayla@zed.dev >
2023-08-15 13:42:54 -07:00
Joseph T. Lyons
d6ca0a1f24
Associate extensions with language
2023-08-15 16:33:02 -04:00
Nate Butler
13cf3ada39
Update checked icon
2023-08-15 16:29:01 -04:00
Max Brunsfeld
ddf3642d47
Avoid flicker when moving between channels
2023-08-15 13:18:56 -07:00
Max Brunsfeld
46928fa871
Reword channel-creation tooltips
2023-08-15 13:08:44 -07:00
Nate Butler
9d60e550be
Additional status bar styles
2023-08-15 15:32:14 -04:00
Mikayla
d13cedb248
seperate out channel styles in theme
2023-08-15 12:12:30 -07:00
KCaverly and maxbrunsfeld
1e8a7c7caa
refactor buffer_search to reduce redundancy and simplying height management
...
Co-authored-by: maxbrunsfeld <max@zed.dev >
2023-08-15 20:04:14 +01:00
Mikayla
d05e8852d3
Add dismiss on escape
2023-08-15 11:02:18 -07:00
Mikayla and Nate
d95b036fde
Fix cursor style
...
co-authored-by: Nate <nate@zed.dev >
2023-08-15 10:58:31 -07:00
Mikayla
e36dfa0946
Add active styling
2023-08-15 10:53:30 -07:00
Mikayla
9e99b74fce
Add the channel name into the current call
2023-08-15 10:45:36 -07:00
Max Brunsfeld
fafc10d57c
Merge branch 'main' into collab-panel
2023-08-15 09:09:50 -07:00
Conrad Irwin
1cc0798aea
Add a VisualBlock mode
...
Instead of trying to extend the Mode::Visual special case, just split
out into three different modes.
2023-08-15 10:00:45 -06:00
Nathan Sobo
e7489bd4c9
Compiling checkpoint
2023-08-15 09:33:59 -06:00
Nathan Sobo
0fe457020b
WIP
2023-08-15 09:26:16 -06:00
Conrad Irwin
404b1aa65a
Fix vim selection to include entire range ( #2787 )
...
Update vim mode to have vim selection and editor selections match.
Before this we had to adjust between vim selections and real selections
when making changes; now we have to adjust when making selections.
Release Notes:
- vim: Ensure editor selection matches the vim selection
([#1796 ](https://github.com/zed-industries/community/issues/1796 )).
- vim: Fix `s` in visual line mode
- vim: Add `o` and `shift-o` to toggle direction of visual selection
- vim: Fix `v` and `shift-v` to toggle back to normal mode
- vim: Fix block selections like `vi}` to contain correct whitespace
2023-08-15 08:36:17 -06:00
Conrad Irwin
1e3f468fc7
Fix vim escape in normal mode ( #2844 )
...
Fixes: zed-industries/community#1857
- vim: Fix escape in normal mode
([#1857 ](https://github.com/zed-industries/community/issues/1857 )).
2023-08-15 08:35:49 -06:00
Mikayla
111e17b220
Merge branch 'main' into collab-panel
2023-08-15 03:25:45 -07:00
Mikayla Maki
22da42fc69
Add components example ( #2846 )
...
This PR is a continuation of the components UI exploration I've been
doing. It adds an example to the GPUI examples page and totally
restructures the generics on our MouseEventHandler.
Release Note:
- N/A
2023-08-15 03:17:50 -07:00
Mikayla
e5eed29c72
Add components example
...
Re-arrange generics on mouse event handler
Add TypeTag struct for dynamically tagged components
2023-08-15 03:06:43 -07:00
Max Brunsfeld and Mikayla
cbf497bc12
Fix race condition when UpdateChannel message is received while fetching participants for previous update
...
Co-authored-by: Mikayla <mikayla@zed.dev >
2023-08-14 17:36:35 -07:00
Max Brunsfeld and Mikayla
71454ba27c
Limit number of participants shown in channel face piles
...
Co-authored-by: Mikayla <mikayla@zed.dev >
2023-08-14 17:11:03 -07:00
Max Brunsfeld and Mikayla
13982fe2f4
Display intended mute status while still connecting to a room
...
Co-authored-by: Mikayla <mikayla@zed.dev >
2023-08-14 16:47:26 -07:00
Max Brunsfeld and Mikayla
5af8ee71aa
Fix clicking outside of modals to dismiss them
...
Co-authored-by: Mikayla <mikayla@zed.dev >
2023-08-14 16:38:21 -07:00
Max Brunsfeld and Mikayla
d7f21a9155
Ensure channels are sorted alphabetically
...
Co-authored-by: Mikayla <mikayla@zed.dev >
2023-08-14 16:27:35 -07:00
Conrad Irwin
1af7425059
Fix vim escape in normal mode
...
Fixes : zed-industries/community#1857
2023-08-14 16:05:41 -06:00
Conrad Irwin
fb90eada70
Merge branch 'main' into vim-visual-selection
2023-08-14 15:29:33 -06:00
Nate Butler
ef73e77d3d
Update some status bar icons and states
2023-08-14 17:15:25 -04:00
Conrad Irwin
5b37cdcb04
Better tests
2023-08-14 15:03:16 -06:00
Nathan Sobo and Mikayla Maki
f9858445b8
Get a 50% colored box rendering
...
Co-Authored-By: Mikayla Maki <mikayla@zed.dev >
2023-08-14 14:46:09 -06:00
Kirill Bulatov
64c2043913
Query less inlay hints ( #2842 )
...
Part of
https://linear.app/zed-industries/issue/Z-2750/investigate-performance-of-collaborating-on-large-files-with-inlay
Instead of querying the entire file for hints, query visible editor(s)
range + the areas above and below, of the same height.
Non-invalidating future queries (e.g. scrolling) query only missing
parts of the ranges.
Release Notes:
- Improved LSP resource usage by querying less hints for big files
2023-08-14 23:06:30 +03:00
Nate Butler
f2d46e0ff9
Use new icons in channel panel
2023-08-14 15:57:31 -04:00
Kirill Bulatov
27bf01c3a8
Strip off inlay hints data that should be resolved
2023-08-14 22:50:55 +03:00
Nathan Sobo and Mikayla Maki
740b105330
Merge branch 'main' into taffy
...
Co-Authored-By: Mikayla Maki <mikayla@zed.dev >
2023-08-14 13:50:21 -06:00
Max Brunsfeld and Mikayla
3b10ae9310
Add icon before the empty contacts text
...
Co-authored-by: Mikayla <mikayla@zed.dev >
2023-08-14 11:57:19 -07:00
Max Brunsfeld and Mikayla
2bb9f7929d
Structure the contact finder more similarly to the channel modal
...
Co-authored-by: Mikayla <mikayla@zed.dev >
2023-08-14 11:37:05 -07:00
Mikayla
b07555b6df
Make empty state interactive
2023-08-14 10:34:00 -07:00
Mikayla
fde9653ad8
Add placeholder implementation
2023-08-14 10:24:00 -07:00
Kirill Bulatov
e0d011e354
Better assert multibuffer edit test results
2023-08-14 20:12:35 +03:00
Kirill Bulatov
4b3273182a
Do not filter out hints to be removed
2023-08-14 19:20:20 +03:00
Kirill Bulatov
336fbb3392
Clip offsets in inlay hint queries
2023-08-14 18:39:30 +03:00
Nathan Sobo
7756497933
Simplify adapter
2023-08-14 09:26:35 -06:00
Piotr Osiewicz and Kyle
db36a5fe2d
Refactor buffer search UI rendering in a quest to find the meaning of life.
...
Co-authored-by: Kyle <kyle@zed.dev >
2023-08-14 15:27:57 +02:00
Kirill Bulatov
558367dc8b
Optimize query ranges tracking
2023-08-14 16:19:44 +03:00
Piotr Osiewicz and Kyle
ff4370f88e
buffer: Extract columns to separate objects.
...
Co-authored-by: Kyle <kyle@zed.dev >
2023-08-14 15:14:57 +02:00
Piotr Osiewicz and Kyle
4aa5df4cda
Extract columns into separate objects.
...
Co-authored-by: Kyle <kyle@zed.dev >
2023-08-14 15:13:17 +02:00
Kirill Bulatov
87e6651ecb
Fix hint tests, add a char boundary bug test
2023-08-14 16:01:02 +03:00