Commit Graph
959 Commits
Author SHA1 Message Date
Max Brunsfeld 3c8a4aefc6 Merge pull request #1333 from zed-industries/editor-mouse-context-menu
Editor mouse context menu
2022-07-13 15:58:31 -07:00
Keith Simmons efb4547793 add show_completions_on_input setting to disable popping the completions menu automatically 2022-07-13 14:23:49 -07:00
Keith Simmons bf7ce0c776 Add basic test for editor context menu 2022-07-13 14:13:19 -07:00
Keith Simmons 4529426099 Add editor mouse context menu with some basic refactorings and an entry to pop the code actions 2022-07-13 14:13:19 -07:00
Keith Simmons e457bad6ad WIP add basic context menu and make progress toward adding quick actions to it 2022-07-13 14:13:19 -07:00
Max Brunsfeld 7aeefd0b9d Restore document highlights when canceling a rename 2022-07-12 17:01:18 -07:00
Max Brunsfeld aee4f25a7a Rename LanguageSettings -> EditorSettings 2022-07-12 11:42:43 -07:00
Max Brunsfeld 7248048413 Move all default settings from source code into the JSON file 2022-07-12 11:35:19 -07:00
Antonio Scandurra 810a5d5318 Merge pull request #1252 from zed-industries/plugin
Language Server WebAssembly Plugin Integration (Part 2)
2022-07-12 11:04:20 +02:00
Isaac Clayton 6a1f649d6a Fix minor issues pointed out in the review 2022-07-11 15:54:03 +02:00
Keith Simmons f6fe8523a0 Merge pull request #1311 from zed-industries/fix-visual-paste
Fix visual paste
2022-07-08 16:54:10 -07:00
Isaac Clayton 3a4657614f Added theme to language 2022-07-08 18:11:28 +02:00
Mikayla Maki 4fe9dc3362 fix merge conflicr 2022-07-07 17:24:55 -07:00
Nathan Sobo 244909a44b Merge pull request #1298 from zed-industries/mouse-region-refactor
Mouse Event Refactor
2022-07-07 16:43:36 -06:00
Mikayla Maki 37687c5c97 Hoisted assert clipboard into TestAppContext 2022-07-07 14:55:25 -07:00
Mikayla Maki 4e14248bdc Added basic selections 2022-07-07 14:52:04 -07:00
Isaac Clayton 0b85613a86 Done! Finish transition to async, very close to merging 2022-07-07 16:21:20 +02:00
Isaac Clayton 50db545b00 Fix most warnings 2022-07-07 16:19:49 +02:00
Isaac Clayton ae5262e93a Fix all residual errors, need to polish off warnings and TODOS 2022-07-07 16:17:03 +02:00
Isaac Clayton 69b1324a93 Further unpropogate async 2022-07-07 16:16:58 +02:00
Antonio Scandurra 3b345cba67 Allow providing an external format in format_on_save setting 2022-07-07 11:04:03 +02:00
Keith Simmons 76b68da22e Combine platform mouse events to use common MouseEvent struct and remove MouseDragged event in favor of MouseMoved 2022-07-06 16:37:56 -07:00
Max Brunsfeld 4adcffcc9f Enable and disable nav buttons based on pane's navigation stack
Also, make the `NavHistory` type private to the `workspace` crate.
Expose only the `ItemNavHistory` type, via a method on Pane called
`nav_history_for_item`.
2022-07-06 15:46:43 -07:00
Keith Simmons 7df2f1aa6a pull event data out into individual Event structs 2022-07-06 15:36:42 -07:00
Antonio Scandurra f879f75a45 Move autosave logic up into Workspace and Pane 2022-07-06 16:33:22 +02:00
Mikayla Maki 7dd8f2289d Merge pull request #1286 from zed-industries/grid-renderer
Switch from line-and-character renderer to a direct grid renderer
2022-07-05 17:16:00 -07:00
Mikayla Maki ccab931a69 changed renderer 2022-07-05 17:10:01 -07:00
Keith Simmons 590ab282a5 WIP making paste better 2022-07-05 16:52:56 -07:00
Keith Simmons 679122e7d1 Merge pull request #1271 from zed-industries/matching-bracket-highlights
Highlight matching bracket when newest selection head is on a bracket
2022-07-05 16:51:46 -07:00
Keith Simmons dcc3f6731f highlight both brackets, only when empty selection, and add test 2022-07-05 15:19:05 -07:00
Antonio Scandurra 633498c9a6 Remove non-determinism from autosave after delay 2022-07-05 17:54:54 +02:00
Antonio Scandurra 0d3eee7ab5 Always finish previous autosave before starting a new one 2022-07-05 17:51:01 +02:00
Antonio Scandurra 68d5f24dc6 Add unit test for autosave 2022-07-05 17:51:01 +02:00
Antonio Scandurra 57d6cb29b4 Honor Autosave setting in Editor 2022-07-05 17:51:01 +02:00
Max Brunsfeld 9a766d7087 Delete the autoclosing bracket when deleting the opening bracket 2022-07-04 10:46:35 -07:00
Keith Simmons 570d69ee5a Highlight matching bracket when newest selection head is on a bracket 2022-07-01 15:06:16 -07:00
Mikayla Maki 975793d8d5 Fixed cursor positioning bugs in multi-byte charcters. Still have at least one though :/ 2022-07-01 14:53:19 -07:00
Mikayla Maki 7c8247b147 rendering cursor correctly 2022-07-01 13:03:26 -07:00
Mikayla Maki a3d873b15d Fixed a major bug and now use the same cursor paint logic as the editor 2022-06-30 20:43:51 -07:00
Keith Simmons 38c6b275a8 add hover popover setting 2022-06-27 16:21:22 -07:00
Keith Simmons 98c942fa28 bump protocol version and fix panic from storing display points instead of anchors 2022-06-27 15:10:36 -07:00
Keith Simmons 859579f85f Fix usage of existing definitions 2022-06-27 10:07:44 -07:00
Keith Simmons 895c185326 Change mouse cursor when link is visible 2022-06-24 21:55:57 -07:00
Keith Simmons 4839b4aa54 fix rebase merge error 2022-06-24 15:11:57 -07:00
Keith Simmons a76be2126c working jump to definition with tests 2022-06-24 15:09:31 -07:00
Keith Simmons b2c6087d10 Working underline based on symbol origin 2022-06-24 15:05:35 -07:00
Keith Simmons 3586b6459a wip 2022-06-24 15:03:24 -07:00
Keith Simmons 9efa2c61f7 wip 2022-06-24 15:03:24 -07:00
Max Brunsfeld a6e865af05 Merge pull request #1234 from zed-industries/fix-editor-cloning
Clone fold and selection state correctly when splitting an editor
2022-06-23 13:27:40 -07:00
Max Brunsfeld 90c556cb47 Clone fold and selection state correctly when splitting an editor 2022-06-23 13:15:50 -07:00