Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>On IdleNew to Visual Studio Code? Get it now.
On Idle

On Idle

Gruntfuggly

|
1,182 installs
| (0) | Free
Trigger commands when you stop typing
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

On Idle

This a very simple extension that triggers configurable commands after a period of inactivity, i.e. when you stop typing.

When commands are configured for current file extension, a button is displayed in the status bar (a watch with a tick or a cross next to it) indicating if On Idle is enabled for that file extension:

Click the button to disable or enable.

Configuration

onIdle.commands specifies the commands to trigger for specific file extensions.

Example:

onIdle.commands: {
    "md": {
        "enabled": true,
        "commands:" [
            "markdown-latex-toggle.markdown-to-latex"
        ]
    }
}

Use onIdle.delay to change the delay after which the commands are triggered. The value is specified in milliseconds. The default delay is 1 second.

The position of the status bar button can be configured using onIdle.buttonAlignment and onIdle.buttonPriority. The icon itself can be changed with onIdle.buttonIcon.

Installing

You can install the latest version of the extension via the Visual Studio Marketplace here.

Source Code

The source code is available on GitHub here.

Credits

Extension icon made by Freepik from www.flaticon.com is licensed by CC 3.0 BY

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft