Commit Graph
76 Commits
Author SHA1 Message Date
Mikayla Maki aa370ab924 Merge pull request #1743 from zed-industries/new-settings-writing
Improved settings writing to be strongly typed and based on settings file content diffs
2022-10-12 17:18:48 -07:00
Mikayla Maki db9c72232f Fixed settings 2022-10-12 17:11:47 -07:00
Mikayla Makiand d6b49291d9 Improved settings writing to be strongly typed and based on settings file content diffs
Co-Authored-By: kay@zed.dev
2022-10-12 17:05:23 -07:00
Max Brunsfeld a2c9a67558 Re-export basic text types from text and language crates
Also avoid production dependencies on fs and rope in collab
2022-10-12 15:48:19 -07:00
Mikayla Maki ddb1066075 Added theme and dock anchor saving :D 2022-10-11 19:18:29 -07:00
Mikayla Maki a2a958ccdc Moved settings_file.rs into settings crate. Should be ready to start now :D 2022-10-11 16:03:38 -07:00
Mikayla Maki ffba611591 Added theme writing code, really bad race condition 2022-10-11 12:48:30 -07:00
JuliaandMikayla Maki b8e48894b5 Don't select on copy by default in the terminal
Co-Authored-By: Mikayla Maki <mikayla@zed.dev>
2022-10-10 13:48:56 -04:00
Mikayla Maki bb80bd45bf Removed debugs, simplified settings 2022-10-03 17:43:05 -07:00
JuliaandMikayla Maki c680a6ebbc Once again respect user settings for git gutter
Co-Authored-By: Mikayla Maki <mikayla@zed.dev>
2022-10-03 15:42:30 -04:00
JuliaandMikayla Maki 0615592f81 Rename head text to indicate that it's not always going to be from head
Co-Authored-By: Mikayla Maki <mikayla@zed.dev>
2022-10-03 15:11:06 -04:00
JuliaandMikayla Maki fb3c69db37 Move git gutter settings out of editor settings
Co-Authored-By: Mikayla Maki <mikayla@zed.dev>
2022-10-03 14:53:33 -04:00
JuliaandMikayla Maki 39789691d5 Utilize initial file contents as head text by default
Co-Authored-By: Mikayla Maki <mikayla@zed.dev>
2022-09-29 13:16:02 -04:00
JuliaandMikayla Maki f53a544038 Avoid racing git diffs & allow for "as fast as possible" diff updating
Co-Authored-By: Mikayla Maki <mikayla@zed.dev>
2022-09-29 13:16:02 -04:00
Julia 884b6728a7 Backward compat format settings 2022-09-26 11:41:31 -04:00
Julia 018a737961 Add editor action to manually invoke buffer format 2022-09-22 18:21:05 -04:00
Kay Simmons 2b68c3b129 Merge pull request #1614 from zed-industries/dock
Dock
2022-09-14 12:40:59 -07:00
Mikayla Maki fa5fc91f35 WIP began changing key modifiers 2022-09-12 22:40:35 -07:00
K Simmons 4a35495d3c Extract panel resize code from sidebar into Resizable element
Make resizable work in vertical axis
Make dock resizable
Have dock preserve size based on Anchor position
Make pane buttons work more correctly in pathological cases
Sync status bar dock button with dock visibility/anchor position

Co-Authored-By Mikayla Maki <mikayla@zed.dev>
2022-09-12 18:32:15 -07:00
K SimmonsandMikayla Maki 017f7b75cf DOCK WORKING!
Update editor element to use mouse regions instead of dispatch event for mouse events
Fix bug in presenter where mouse region handlers were stored on click and called instead of more up to date handlers from subsequent renders
Changed MouseRegion to require discriminants in all cases
Add scroll wheel event to MouseRegion
Polished a bunch of dock inconsistencies

Co-Authored-By: Mikayla Maki <mikayla@zed.dev>
2022-09-11 15:32:20 -07:00
Mikayla Maki fda2640a16 Added internal keymaps as well, just for the hell of it 2022-09-08 16:37:04 -07:00
Mikayla Maki 47f75f3f96 Removed github username check, added settings file 2022-09-08 16:27:46 -07:00
Mikayla Maki 08be69255a Added experimental themes flag 2022-09-08 15:47:27 -07:00
Mikayla Maki 5ea48d9181 Added internal flag that checks the last logged in user 2022-09-08 13:31:04 -07:00
Mikayla Maki 1f4cc69927 restore modal terminal 2022-08-31 13:06:15 -07:00
Mikayla Maki 926269e26f Added experimental keymaps support 2022-08-22 14:49:01 -07:00
Mikayla Maki 2b630ec771 Revert "Basic feature flag implementation" 2022-08-22 13:54:18 -07:00
Mikayla Maki 72d66a5fd5 Fixed name issue 2022-08-22 13:38:23 -07:00
Mikayla Maki 32160b1f1c Changed name to experiments 2022-08-22 13:27:36 -07:00
Mikayla Maki 9b8ed19ede Basic feature flag implementation 2022-08-22 13:11:23 -07:00
Mikayla Maki ba3ddf6892 Finished mouse compatability 2022-08-19 13:54:25 -07:00
Mikayla Maki 057018efbb Fixed cursor blinking, added other cursor shape rendering 2022-08-18 11:28:18 -07:00
Mikayla Maki 7bd3643fa3 Fixed blink problems 2022-08-17 14:41:28 -07:00
Mikayla Maki 42b91c9dfa Added cursor blink and settings 2022-08-15 18:05:07 -07:00
ForLoveOfCatsandMikayla fbea44bc5c One big cleanup pass of clippy lints
Co-authored-by: Mikayla <mikayla@zed.dev>
2022-08-10 16:51:01 -07:00
ForLoveOfCats 4e5bcdc9ce Add ability to provide custom LSP server initialization options 2022-08-04 14:47:06 -04:00
Mikayla Maki 95aa56b556 Rebasing continues 2022-07-20 10:04:08 -07:00
Mikayla Maki 485bfc213c Added settings for common terminal configurations 2022-07-15 18:27:10 -07:00
Keith Simmons 8e72c96eb8 Merge pull request #1330 from zed-industries/completions-setting
Completions Menu Setting
2022-07-13 15:35:10 -07:00
Max Brunsfeld 94d698efe7 Fix incomplete language names list being used for JSON schema
For now, since initializing the languages themselves is still async,
create a parallel duplicated code path that is synchronous, and
just provided the language names.
2022-07-13 15:04:28 -07:00
K Simmons 1bed5ccf1f fix merge error to use new default settings flow 2022-07-13 14:29:47 -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
Max Brunsfeld 4b232f8217 Simplify setting merging, fix ignored hard_tabs setting 2022-07-12 17:43:00 -07:00
Max Brunsfeld 958d930141 Pre-populate settings.json when initializing it from Zed 2022-07-12 14:19:36 -07:00
Max Brunsfeld 0cefc70f70 Adjust settings schema generation to reflect rename
Also, simplify that code.
2022-07-12 12:19:01 -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
Max BrunsfeldandAntonio Scandurra 88bd8a3dde Start moving default settings into a JSON file
Co-authored-by: Antonio Scandurra <me@as-cii.com>
2022-07-12 11:00:02 -07:00
Antonio Scandurra 3b345cba67 Allow providing an external format in format_on_save setting 2022-07-07 11:04:03 +02:00
Antonio Scandurra 57d6cb29b4 Honor Autosave setting in Editor 2022-07-05 17:51:01 +02:00