Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Caps Lock StateNew to Visual Studio Code? Get it now.
Caps Lock State

Caps Lock State

Elling

|
872 installs
| (2) | Free
This is a Visual Studio Code plugin that provides panels to display the Caps Lock key's status.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Nodejs Version

Caps Lock State (Beta)

Real-time Caps Lock state monitoring for Visual Studio Code.

Currently only tested on Windows.

Cursor Color

Configuration

Open Settings (Ctrl+,) and search for Caps Lock State to customize:

Setting Type Default Description
caps-lock-state.delay_time integer 20 Polling interval for detecting Caps Lock state changes (ms).
caps-lock-state.editorCursor.foreground string #00ff00 Cursor color when Caps Lock is ON.

How It Works

it writes / restores the value of editorCursor.foreground inside workbench.colorCustomizations:

Caps Lock state Action
ON Write editorCursor.foreground = <your custom color>
OFF Restore the original value (or remove the key, letting the active theme decide)

Known Issues

editorCursor.foreground may remain in your settings after disable/uninstall. Open Command Palette (Ctrl+Shift+P) → Preferences: Open User Settings (JSON) and delete the editorCursor.foreground line inside workbench.colorCustomizations if needed.

Legacy Settings

Legacy (old-version) settings are documented in LEGACY_SETTINGS.md.

Contributing

Contributions are welcome! If you find any issues or have suggestions for improvement, please submit an issue or create a pull request.

License

This project is licensed under the MIT License.

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