Commit Graph
5172 Commits
Author SHA1 Message Date
Mikayla Maki 492ba643e1 Change icon width to scale with font size 2023-03-14 00:42:15 -07:00
Mikayla Maki 57082433dc Merge pull request #2263 from zed-industries/language-status-bar
Language status bar
2023-03-10 16:26:42 -08:00
Mikayla Maki ccf4c95ae3 Merge pull request #2199 from zed-industries/welcome-experience
Welcome experience
2023-03-10 10:48:30 -08:00
Antonio Scandurra f8d24f66a2 Return last excerpt in MultiBuffer::excerpt_containing if overshooting 2023-03-10 17:28:08 +01:00
Antonio ScandurraandJulia Risley 2240d602b9 Set buffer language when confirming selection in language selector
Co-Authored-By: Julia Risley <julia@zed.dev>
2023-03-10 15:34:26 +01:00
Antonio Scandurra 28df591385 Allow waiting for language to be loaded in LanguageRegistry APIs 2023-03-10 12:17:47 +01:00
Mikayla Maki 338f41f40d Fix editor test to clearly show trailing whitespace
Adjsut default dock size to be a multiple of 16
2023-03-09 13:18:03 -08:00
Mikayla Maki 3519bf902a re-add spaces removed by new setting 2023-03-09 00:45:05 -08:00
Antonio Scandurra dd8390cbd1 Limit dirty buffer save optimization to multi-buffers 2023-03-09 07:26:22 +01:00
Mikayla Maki 12589db33f Fix bug with action keybindings not being resolved 2023-03-08 18:11:11 -08:00
Mikayla Maki 877240d746 Add blank pane experience 2023-03-08 17:56:39 -08:00
Mikayla Maki 7e06c3d5ae Merge pull request #2233 from zed-industries/fix-code-folding-initialization
Initialize code fold indicators on buffer startup
2023-03-03 12:30:53 -08:00
Mikayla MakiandMax 4e49d06492 Add interactable fold markers
Change fold handlers to be driven by the fold map
Switch to a mouse region based implementation for click regions

Co-authored-by: Max <max@zed.dev>
2023-03-03 12:26:36 -08:00
Mikayla MakiandMax e7c0a3418b Made fold inline styles be driven by the fold map
co-authored-by: Max <max@zed.dev>
2023-03-03 09:32:58 -08:00
Mikayla Maki 0fbcffa80d Attempted to initialize code-fold indicators, does not work 2023-03-02 19:42:59 -08:00
Max Brunsfeld c6362e8cf6 Add a setting for ensuring a single final newline on save 2023-02-28 21:52:00 -08:00
Max Brunsfeld e0c9010104 Add setting for removing trailing whitespace on save 2023-02-28 21:52:00 -08:00
Mikayla Maki 25b742eb6e Fix off by one error in click ranges 2023-02-28 20:27:34 -08:00
Mikayla Maki 91f1992c49 Made code fold indicators show up on active line indicators 2023-02-28 19:53:53 -08:00
Mikayla Maki 04afd15ecd Fix comments 2023-02-28 17:25:35 -08:00
Mikayla Maki 061af145d5 Update tests to use new fold indicator 2023-02-28 17:17:29 -08:00
Mikayla Maki 52e8e0e51e Removed DisplayRow abstraction 2023-02-28 17:12:48 -08:00
Mikayla Maki ab01c5c3ba Added background styling of the ... 2023-02-28 16:35:44 -08:00
Mikayla Maki 01d7f4a319 Added click regions and cursor styles 2023-02-28 16:34:28 -08:00
Mikayla Maki 0c815734b4 Adjusted code-folding behavior 2023-02-28 16:34:28 -08:00
Mikayla Maki 854b12a083 WIp 2023-02-28 16:34:28 -08:00
Mikayla Maki e6c9994196 Make chevrons and lightning bolt interactive 2023-02-28 16:34:28 -08:00
Mikayla Maki 93e9977447 Added fold changes on gutter hover 2023-02-28 16:34:28 -08:00
Mikayla Maki 15338a26e1 moved code action indicator to the left 2023-02-28 16:34:28 -08:00
Mikayla Maki b818d2a8a2 Fixed autoscroll timing 2023-02-28 16:34:28 -08:00
Mikayla Maki f2914d2763 Added DisplayRow abstraction to make folding code more readable 2023-02-28 16:34:28 -08:00
Mikayla Maki 89adbc7ce7 Fix bugs in code folding 2023-02-28 16:34:28 -08:00
Mikayla Maki d000e879bf Add code folding indicators into the gutter. 2023-02-28 16:34:28 -08:00
Kay Simmons d651a0c7ae Merge pull request #2218 from zed-industries/file-finder-distance-sorting
Sort matches in file finder by distance to active item after score
2023-02-25 14:26:05 -08:00
Kay Simmons 0c2b3468b3 Add test for new sorting behavior 2023-02-25 14:06:54 -08:00
Max BrunsfeldandMikayla Maki 52776f2594 Pass the 'Save' format trigger when formatting on save
In an earlier refactor, I accidentally caused the 'Manual'
trigger to *always* be passed.

Co-authored-by: Mikayla Maki <mikayla@zed.dev>
2023-02-24 17:11:35 -08:00
Mikayla Maki 730ea83ee0 Convert keymap context to use generics and Cow<'static> so we don't have to add .to_string() and .into() for each usage 2023-02-23 14:10:55 -08:00
Kay Simmons effca56eb4 Merge pull request #2189 from zed-industries/labeled-tasks
Labeled Tasks
2023-02-21 21:31:47 -08:00
Kay Simmons 8ae4613d87 Fix formatting 2023-02-21 21:07:45 -08:00
Mikayla Maki 5ecc0017b9 Merge pull request #2197 from zed-industries/label-text-cow
Changed label and text to be generic over static and owned strings
2023-02-21 17:05:57 -08:00
Mikayla Maki 6aec385c3f Changed label and text to be generic over static strings and owned strings 2023-02-21 16:47:29 -08:00
Joseph LyonsandJulia 23e01fdb31 Add reveal in finder to additional locations
Co-Authored-By: Julia <30666851+ForLoveOfCats@users.noreply.github.com>
2023-02-21 16:09:11 -05:00
Kay Simmons 60590721ce Add labeled tasks to gpui and observe them in the activity status to give feedback when we are still waiting for the language server 2023-02-20 20:28:48 -08:00
Max Brunsfeld f517038f77 Add unit test for auto-closing quotation marks with overrides 2023-02-20 13:46:17 -08:00
Max Brunsfeld 40f51c31ed Run cargo fmt 2023-02-20 11:10:30 -08:00
Max Brunsfeld d6b369095f Restructure how bracket pairs are overridden to unify lists
This way, a bracket pair that is disabled in a given scope can still be skipped, if
it was auto-closed before that scope existed.
2023-02-20 10:53:37 -08:00
Max Brunsfeld 853c34fdfb Merge pull request #2187 from zed-industries/save-untitled-buffer-bugs
Fix newly-discovered bugs in saving untitled buffers
2023-02-20 10:05:58 -08:00
Max Brunsfeld 0a4662923b Make Project::save_buffer and ::save_buffers into methods 2023-02-20 09:42:44 -08:00
Kay Simmons b2e8053742 Merge pull request #2186 from zed-industries/better-vim-matching-motion
Better vim matching motion
2023-02-17 22:10:28 -08:00
Kay Simmons 15cd99c013 Fix failing test 2023-02-17 22:00:39 -08:00