Max Brunsfeld
2f05e3d502
Define project settings in project crate
2023-05-16 17:45:04 -07:00
Max Brunsfeld
a802da9dae
Define editor settings in editor crate
2023-05-16 17:30:29 -07:00
Max Brunsfeld
56f2ff64ed
Define language settings in the language crate
2023-05-16 17:29:53 -07:00
Max Brunsfeld
e04be2e2d3
Add a better API for updating settings in the SettingsStore in tests
2023-05-11 17:24:58 -07:00
Max Brunsfeld
22a7b8e227
Define terminal settings in terminal crate
2023-05-10 17:43:10 -07:00
Max Brunsfeld
876d8b3e09
Ensure the SettingsStore global is added in tests
2023-05-10 16:39:59 -07:00
Max Brunsfeld
8abefb23c5
Define journal settings in journal crate
2023-05-10 12:59:24 -07:00
Max Brunsfeld
fe610e556f
Define telemetry settings in the client crate
2023-05-10 12:59:24 -07:00
Max Brunsfeld
47c3504d22
Define vim_mode setting in vim crate
2023-05-10 12:59:24 -07:00
Max Brunsfeld
d3220c752a
Define auto_update setting in the auto_update crate
2023-05-10 12:59:24 -07:00
Max Brunsfeld
78ec1bd1c8
Generalize settings JSON schema logic to work w/ arbitrary setting types
2023-05-10 12:59:24 -07:00
Max Brunsfeld
2c7b3dcb92
Start using the SettingsStore in the app
2023-05-10 12:59:24 -07:00
Max Brunsfeld
e1705d73ca
Add generic update method to SettingsStore
2023-05-10 12:59:24 -07:00
Max Brunsfeld
4325af4681
Allow registering additional settings after loading global settings
2023-05-10 12:59:24 -07:00
Max Brunsfeld
054ad5aeb6
Create proof-of-concept SettingStore struct
2023-05-10 12:59:22 -07:00
Kirill Bulatov
9f008a5a69
Use more convntional name for the settings
2023-05-08 19:36:51 +03:00
Kirill Bulatov
e3ff9ad822
Support invisibles in the selection
2023-05-08 19:36:51 +03:00
Kirill Bulatov
23ef5d3f14
Make invisibles display configurable
2023-05-08 19:36:51 +03:00
Kirill Bulatov
903078b060
Remove unused dependencies
2023-05-07 21:07:55 +03:00
Antonio Scandurra
3c580153ed
Merge branch 'main' into implicit-ancestry
2023-05-04 14:39:58 +02:00
Antonio Scandurra
8c31093cc3
Ensure querying keystrokes or actions is safe
...
This is achieved by moving `available_actions` into `AsyncAppContext` (where
we know no view/window is on the stack) and `keystrokes_for_action` into `LayoutContext`
where we'll fetch the previous frame's ancestors and notify the current view if those
change after we perform a layout.
2023-05-04 09:53:31 +02:00
Max Brunsfeld
647c3960d9
Add copilot menu item for enabling paths by glob
2023-05-03 10:14:01 -07:00
Max Brunsfeld
1486f1e91a
Add copilot.disabled_globs setting
2023-05-01 13:45:47 -07:00
Max Brunsfeld
d1f33d7052
🎨 Specify more dependencies at the workspace level
2023-04-24 17:41:55 -07:00
Max Brunsfeld
a17f009b00
Use a workspace dependency for the futures crate
2023-04-24 09:43:31 -07:00
Nathan Sobo and Max 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 Scandurra
d2930f462c
Merge branch 'main' into window_context_2
2023-04-21 10:58:08 +02:00
Mikayla Maki
a62f4b054f
Fix warning
2023-04-20 17:34:47 -07:00
Mikayla Maki
2d2449ac9d
Fixed silly custom settings parsing
2023-04-20 17:33:06 -07:00
Mikayla Maki
f732210e2b
Create a new setting to adjust the line height in the terminal
2023-04-20 17:24:27 -07:00
Antonio Scandurra
8421d816a8
Merge branch 'main' into window_context_2
2023-04-20 16:01:47 +02:00
Antonio Scandurra and Nathan Sobo
7d9b486576
Clarify copilot settings
...
Co-Authored-By: Nathan Sobo <nathan@zed.dev >
2023-04-19 20:07:05 +02:00
Antonio Scandurra
1f47ff85de
Move more window-specific methods from AppContext to WindowContext
2023-04-14 10:29:35 +02:00
Nathan Sobo
d937660683
Merge MutableAppContext into AppContext
...
There may have been a good reason for the difference at some point, or I was
still learning Rust. But now it's just &mut AppContext vs &AppContext.
2023-04-06 15:49:03 -06:00
Mikayla Maki
66d1b92eaa
removed copilot from generated schema and command palette
2023-04-03 21:38:26 -07:00
Mikayla Maki
eae0e2fee7
Add support for the langauge_overrides alias in the settings file updating code
2023-03-31 11:20:46 -07:00
Mikayla Maki
35aa04ca6b
Improve settings writing for more cases
2023-03-30 10:40:53 -07:00
Mikayla Maki
b217e78a9c
Remove some strays
2023-03-29 22:22:02 -07:00
Mikayla Maki
4a9b78e48f
Fix bug with enable setting, clean up sign in UIs
2023-03-29 21:51:07 -07:00
Mikayla Maki
c2f6567042
Add status bar icon reflecting copilot state to Zed status bar
2023-03-29 21:31:33 -07:00
Mikayla Maki
900232a2cd
Add copilot settings
...
Add copilot pause / resume
Add copilot statusbar item stub
2023-03-29 16:40:52 -07:00
Mikayla Maki
f0e79db961
WIP Add copilot disabled setting
2023-03-28 20:52:50 -07:00
Antonio Scandurra
ba4c257b50
Use the same serde version across the entire workspace
2023-03-28 09:42:00 -07:00
Joseph T. Lyons
34d9196d6d
Merge pull request #2313 from zed-industries/unify-spelling-of-key-binding-to-be-two-words
...
Unify spelling of `key binding` to be two words
2023-03-27 15:58:12 -04:00
Joseph Lyons
d4ae7d7966
Unify spelling of key binding to be two words
2023-03-22 13:34:12 -04:00
Max Brunsfeld
0964a3d49f
Move postage crate version specification to workspace Cargo.toml
2023-03-21 11:26:13 -07:00
Antonio Scandurra and Julia Risley
e2c6eaa335
Deserialize Theme directly into the heap to avoid stack overflow
...
Co-Authored-By: Julia Risley <julia@zed.dev >
2023-03-17 15:58:52 +01:00
Antonio Scandurra
3d6ac2ae58
Don't make fonts::Features Copy
2023-03-17 13:54:56 +01:00
Antonio Scandurra
43b69145e8
Allow setting font features on the terminal as well
2023-03-17 11:42:24 +01:00