Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Monkey WrenchNew to Visual Studio Code? Get it now.
Monkey Wrench

Monkey Wrench

Coyote Studios

|
551 installs
| (0) | Free
Adds support for UserScripts (i.e. Greasemonkey, Tampermonkey, etc.).
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Monkey Wrench

Adds support for userscripts including:

  • Syntax highlighting
  • Completion
  • Hover
  • Snippets
  • Signature help
  • Definitions / Type definitions

By default, any working with any file with the .user.js extension will activate the extension, though this behavior can be customized in the settings.

Features

Syntax Highlighting

Metadata key and value highlighting, similar to JS Doc highlighting.

Metadata syntax highlighting Metadata

GM_addstyle CSS syntax highlighting CSS in GM_addstyle


Completion

Every metadata key accounted for, as well as every GM_* / GM.* function.

Metadata completion Metadata

GM functions completion GM functions

GM functions completion GM functions


Hover

Full hover documentation and support for both metadata and functions.

Metadata hover Metadata

Metadata hover Metadata

GM functions hover GM functions

GM functions hover GM functions


Snippets

Typing userscript will suggest a snippet to generate a userscript template. You can adjust the default values settings. Any metadata key that has an enumerated value associated with it will suggest those when typing.

Userscript snippet Userscript snippet


Signature Help

Every GM_* / GM.* function fully supported. Every metadata key also supported.

GM functions signature help GM functions

Metadata signature help Metadata


Definitions / Type Definitions

Full typescript definitions included when right clicking a function and selecting Go to Type Definition.

Release Notes

Please refer to the CHANGELOG.

To Do

  • Add images to documentation.
  • Add more examples to documentation.
  • Update signature help provider to better determine which overload is in use for those functions that have overloads.
  • Add additional metadata defaults to user settings for the template snippet.

License

GNU GPLv3

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