docs: Add docs for hover_popover_delay
and update hover delay (#30620)
- Add docs for `hover_popover_delay`.
- Set `hover_popover_delay` to `300` from `350` which matches [VSCode's
hover
delay](ed48873ba2/src/vs/editor/common/config/editorOptions.ts (L2219)
).
Release Notes:
- Added `hover_popover_delay` to settings which determines time to wait
in milliseconds before showing the informational hover box.
This commit is contained in:
parent
9426caa061
commit
7eb226b3fc
3 changed files with 14 additions and 4 deletions
|
@ -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.
|
||||
|
|
|
@ -369,9 +369,9 @@ pub struct EditorSettingsContent {
|
|||
///
|
||||
/// Default: true
|
||||
pub hover_popover_enabled: Option<bool>,
|
||||
/// 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<u64>,
|
||||
/// Toolbar related settings
|
||||
pub toolbar: Option<ToolbarContent>,
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue