This is an initial implementation that isn't used for any settings yet, but will be used once `Vec<String>` is implemented. I also updated the window.with_state api to grant access to a `Context<S>` app reference instead of just an App. ## Example <img width="603" height="83" alt="Screenshot 2025-09-09 at 2 15 56 PM" src="https://github.com/user-attachments/assets/7b3fc350-a157-431f-a4bc-80a1806a3147" /> Release Notes: - N/A
43 lines
827 B
TOML
43 lines
827 B
TOML
[package]
|
|
name = "settings_ui"
|
|
version = "0.1.0"
|
|
edition.workspace = true
|
|
publish.workspace = true
|
|
license = "GPL-3.0-or-later"
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[lib]
|
|
path = "src/settings_ui.rs"
|
|
|
|
[features]
|
|
default = []
|
|
test-support = []
|
|
|
|
[dependencies]
|
|
anyhow.workspace = true
|
|
command_palette_hooks.workspace = true
|
|
editor.workspace = true
|
|
feature_flags.workspace = true
|
|
gpui.workspace = true
|
|
menu.workspace = true
|
|
serde.workspace = true
|
|
serde_json.workspace = true
|
|
settings.workspace = true
|
|
smallvec.workspace = true
|
|
theme.workspace = true
|
|
ui.workspace = true
|
|
workspace.workspace = true
|
|
workspace-hack.workspace = true
|
|
|
|
|
|
[dev-dependencies]
|
|
debugger_ui.workspace = true
|
|
|
|
# Uncomment other workspace dependencies as needed
|
|
# assistant.workspace = true
|
|
# client.workspace = true
|
|
# project.workspace = true
|
|
# settings.workspace = true
|