- 设置页分三组:常规(启用关键字高亮,默认关闭)、预览(当前终端字体和 配色下的一段示例日志)、规则(N)。 - 规则表在行里直接改,不再弹对话框:拖动把手排序、启用、正则表达式、 备注、颜色(取色器加 #rrggbb 输入框)、通知、删除。规则都是正则,区分 大小写;颜色可任意取,不跟主题;去掉加粗。通知标题用备注。 - 预置 ERROR、WARN、IPv4 三条示例,各自启用、不通知,打开总开关就能用。 - 取色器自带一行与调色板不重复的常用色:gpui-kit 默认的常用色也在调色板 里,同色两格是重复的无障碍节点,调试版会因此崩溃。 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
16 lines
477 B
Rust
16 lines
477 B
Rust
//! 设置: the settings tab, the settings it edits and how they are applied.
|
|
|
|
mod apply;
|
|
mod highlight_rules;
|
|
mod model;
|
|
mod settings_panel;
|
|
mod store;
|
|
|
|
pub use apply::apply;
|
|
pub use model::{
|
|
AppSettings, Appearance, Choice, ExternalCliSettings, InterfaceLanguage, NotificationSettings,
|
|
TerminalFontSettings, TerminalHighlightSettings, UpdateSettings,
|
|
};
|
|
pub use settings_panel::{SettingsPanel, SettingsPanelEvent};
|
|
pub use store::{SettingsStore, SettingsStoreEvent};
|