Skip to content

Request to add Toggle for hover feature so that hover conversion can be enabled/disabled.  #66

@Ankit-Kulkarni

Description

@Ankit-Kulkarni

Is your feature request related to a problem? Please describe.
The extension is super useful to quickly see timestamps conversions using hover but anytime you navigate the code base and a number is hovered the conversion tooltip appears. After a while it becomes annoying to see tooltip every time you hover a number even if the number if not required to be converted. currently i have to disable extension and enable it every time it needs to be used.

Describe the solution you'd like
Instead of disabling an extension It would be better to have an option to toggle hover behaviour on/off. This will also save a lot of not needed conversion. When required hover functionality can be toggled .

Alternatives/workaround
The workaround recently I used to fix this is using Toggle
extension by adding a hotkey to disable hover by disabling settings on the fly however it still shows "Col 1: " after hovering and that still needs to fixed. Here is the setting i have put in my personal keybindings

{
    "key": "F4",
    "command": "toggle",
    "when": "editorIsOpen",
    "args": {
        "id": "timeconverter",
        "value": [
            {
                "timing.hoverTimestamp.enabled": true,
                "timing.hoverDuration.enabled": true,
            },
            {
                "timing.hoverTimestamp.enabled": false,
                "timing.hoverDuration.enabled": false,
            }
        ]
    }
}

Additional context
When I am seeing a file filled with timestamps hover make much more sense but sometimes I don't need to know the human time because have to work with the file in timestamp manner only. That time every time you move your mouse the tooltip shows up.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions