Commit Graph
288 Commits
Author SHA1 Message Date
Kirill Bulatov b03d2e6ea8 Correctly update old diagnostics 2023-11-05 15:37:27 +02:00
Kirill Bulatov 321872095c Parallelize diagnostics filling, add more logs 2023-11-05 15:06:39 +02:00
Kirill Bulatov b76f28cf58 Restructure inner path data 2023-11-05 14:53:13 +02:00
Kirill Bulatov ac34ca4d30 Eagerly refresh diagnostics that do not intercept with user input 2023-11-05 14:44:22 +02:00
Kirill Bulatov 4b2bf246a9 Refresh all possibly stale diagnostics pat 2023-11-05 14:43:54 +02:00
Kirill Bulatov 1ed9260477 Fix the test 2023-11-03 21:51:12 +02:00
Kirill Bulatov 3592b98e8f Refresh diagnostics inside the tab 2023-11-03 21:51:12 +02:00
Kirill Bulatov 77a851998e Update diagnostics indicator when diagnostics are udpated 2023-10-13 12:13:18 +03: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
Antonio Scandurra 671e1bb188 Add an include/exclude warnings toggle in project diagnostics 2023-09-27 17:47:19 -06:00
Nate Butler 0dc4475f7f Unify icons using multiple variants, remove all unused icons 2023-09-15 12:50:49 -04:00
Julia 532fa49b83 Avoid keeping stale LSP progress indicator state when server is removed 2023-09-12 15:14:49 -04:00
Nathan Sobo ec9bebc7f4 Merge branch 'main' into divs 2023-08-22 16:35:56 -06:00
Nate Butler f201875d07 Additional status bar styles 2023-08-15 15:32:14 -04:00
Mikayla ec2490269d 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
Nathan SoboandMikayla Maki 64f61d293a Merge branch 'main' into taffy
Co-Authored-By: Mikayla Maki <mikayla@zed.dev>
2023-08-14 13:50:21 -06:00
Piotr Osiewicz 625ac1c1ed chore: use Cow instead of String for tooltips (#2838)
A QoL change to align `Tooltip` with other elements like `Label`
Release Notes:

- N/A
2023-08-11 15:29:55 +02:00
Nathan Sobo bb9591415f WIP 2023-08-10 10:26:48 -06:00
Nathan Sobo 337db743e9 Remove TestAppContext::add_view
Instead, we now call this on window handles.
2023-08-07 22:46:48 -06:00
Nathan Sobo d1e01ba625 WIP 2023-08-06 12:45:31 -06:00
Nathan Sobo 40f28de681 Don't refcount window handles 2023-08-03 17:11:47 -06:00
Nathan Sobo 680c0185e4 Get tests compiling returning WindowHandle<V: View> from add_window 2023-08-02 14:05:03 -06:00
Nate Butler 165f7d5e0a Split Interactive into Interactive and Toggleable (#2628)
This is a part of the intensity driven theme rewrite. 

It introduces the `toggle` and `interactive` helper functions to build
Toggle<T> and Interactive<T> styles for interactive elements in the
theme.

This PR also removes the `theme_testbench` crate and related actions.

Huge thanks to @osiewicz and @mikayla-maki for pushing this forward 🙏🏽

Release Notes:

- Updated the style of many interactive elements.
2023-06-21 15:03:08 -04:00
Mikayla Maki 87b1a62d0d Add copy-on-click to diagnostic messages 2023-06-20 16:48:30 -07:00
Piotr Osiewicz 406e160730 Split out Interactive<T> into Toggle<T> and Interactive<T> 2023-06-20 16:05:20 -07:00
Antonio Scandurra ee5a23b04c Avoid auto-scrolling the editor when inserting/removing headers 2023-06-14 10:49:23 +02:00
Julia a1b4c57588 Fix tests 2023-05-25 14:29:28 -04:00
Julia ee718b9a33 Remove concept of git diff refresh from Item trait 2023-05-25 14:29:28 -04:00
Mikayla Makiandnate ffd3927a70 Fixed contrast in project panel and scrollbar
co-authored-by: nate <nate@zed.dev>
2023-05-22 15:51:31 -07:00
Mikayla Maki d60fbbc3d8 fmt 2023-05-22 11:46:52 -07:00
Mikayla Maki dce5088f27 Fix diagnostic pane not being closeable 2023-05-22 11:44:23 -07:00
Mikayla Maki 4d9078ac3a Diagnostics pane was not focusable with the mouse 2023-05-22 11:10:13 -07:00
Max Brunsfeld 5325aec94f Move font size adjustment code to the theme crate 2023-05-17 15:56:32 -07:00
Max Brunsfeld 30e678a450 Remove optional path argument when getting settings 2023-05-17 15:05:20 -07:00
Max Brunsfeld c261a01c7f Define theme/ui text style settings in theme crate 2023-05-17 14:44:59 -07:00
Max Brunsfeld ca02b558c8 Merge branch 'main' into setting-store 2023-05-17 09:55:24 -07:00
Max Brunsfeld 09f37a2fe9 Define workspace settings in workspace crate 2023-05-16 20:25:18 -07:00
Max Brunsfeld 56f2ff64ed Define language settings in the language crate 2023-05-16 17:29:53 -07:00
Max Brunsfeld 22a7b8e227 Define terminal settings in terminal crate 2023-05-10 17:43:10 -07:00
Antonio Scandurra 862cc2d132 Compute view ancestry at layout time 2023-05-03 16:36:14 +02:00
Julia 25e2016d0d Show diagnostic source in inline diagnostic 2023-05-02 09:08:07 -04:00
Julia 33173ad0ee Show diagnostic source in diagnostic multibuffer headers 2023-05-01 16:48:27 -04:00
Antonio Scandurra 2742f1cb76 Remove ViewContext::dispatch_action 2023-05-01 16:27:36 +02:00
Antonio Scandurra 21b1a32fa6 Remove unused Jump internal action 2023-04-28 15:57:36 +02:00
Antonio Scandurra 6b87c371f9 Remove Jump internal action 2023-04-28 14:13:07 +02:00
Max Brunsfeld d1f33d7052 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
Nathan SoboandMax Brunsfeld 52d4cc5349 Refine naming of element-related types and traits
Co-Authored-By: Max Brunsfeld <max@zed.dev>
2023-04-21 13:06:37 -06:00
2bd56ab6f0 Rename Drawable::boxed to into_element and make containers generic
Multi-element are now generic over any drawable child, which can be converted
into an element.

Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Co-Authored-By: Max Brunsfeld <max@zed.dev>
2023-04-21 12:43:19 -06:00
Antonio ScandurraandNathan Sobo 2c9147d2df Fix ProjectDiagnosticsEditor::breadcrumbs signature
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
2023-04-21 17:54:26 +02:00