diff --git a/assets/settings/default.json b/assets/settings/default.json index f1c9e70a5b..c241da9a96 100644 --- a/assets/settings/default.json +++ b/assets/settings/default.json @@ -113,8 +113,8 @@ // Whether to show the informational hover box when moving the mouse // over symbols in the editor. "hover_popover_enabled": true, - // Time to wait before showing the informational hover box - "hover_popover_delay": 350, + // Time to wait in milliseconds before showing the informational hover box. + "hover_popover_delay": 300, // Whether to confirm before quitting Zed. "confirm_quit": false, // Whether to restore last closed project when fresh Zed instance is opened. diff --git a/crates/editor/src/editor_settings.rs b/crates/editor/src/editor_settings.rs index ca3c5121ef..d9c0d1447e 100644 --- a/crates/editor/src/editor_settings.rs +++ b/crates/editor/src/editor_settings.rs @@ -369,9 +369,9 @@ pub struct EditorSettingsContent { /// /// Default: true pub hover_popover_enabled: Option, - /// Time to wait before showing the informational hover box + /// Time to wait in milliseconds before showing the informational hover box. /// - /// Default: 350 + /// Default: 300 pub hover_popover_delay: Option, /// Toolbar related settings pub toolbar: Option, diff --git a/docs/src/configuring-zed.md b/docs/src/configuring-zed.md index 92ad474dfd..68aabc0371 100644 --- a/docs/src/configuring-zed.md +++ b/docs/src/configuring-zed.md @@ -1741,6 +1741,16 @@ Example: `boolean` values +## Hover Popover Delay + +- Description: Time to wait in milliseconds before showing the informational hover box. +- Setting: `hover_popover_delay` +- Default: `300` + +**Options** + +`integer` values representing milliseconds + ## Icon Theme - Description: The icon theme setting can be specified in two forms - either as the name of an icon theme or as an object containing the `mode`, `dark`, and `light` icon themes for files/folders inside Zed.