Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/andywang425/vscode-scriptmonkey
Userscript language support extension for vscode.
https://github.com/andywang425/vscode-scriptmonkey
javascript snippets syntax-highlighting tampermonkey userscript violentmonkey visual-studio-code vscode vscode-extension
Last synced: 3 months ago
JSON representation
Userscript language support extension for vscode.
- Host: GitHub
- URL: https://github.com/andywang425/vscode-scriptmonkey
- Owner: andywang425
- License: mit
- Created: 2022-07-25T06:36:22.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-02T04:08:42.000Z (10 months ago)
- Last Synced: 2024-10-31T08:41:39.450Z (3 months ago)
- Topics: javascript, snippets, syntax-highlighting, tampermonkey, userscript, violentmonkey, visual-studio-code, vscode, vscode-extension
- Language: TypeScript
- Homepage: https://marketplace.visualstudio.com/items?itemName=andywang.vscode-scriptmonkey
- Size: 671 KB
- Stars: 23
- Watchers: 3
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Scriptmonkey
A simple userscript language support extension which provides syntax highlight, completion, hover, and code snippets.
Most features of Scriptmonkey activates only when filename ends with `.user.js` by default to prevent polluting non userscript files.
You can modify the extension settings to make Scriptmonkey work in other javascript files.## Features
### Syntax highlight
- **Metadata**
![Metadata highlight](images/metadata.png)
- **Css in GM_addstyle**
![GM_addstyle highlight](images/GM_addstyle.png)
### Completion
- **Metadata**
![Metadata Completion](images/meta_completion.gif)
- **Code**
![Code Completion](images/code_completion.gif)
### Hover
![Code Hover](images/code_hover.png)
### Code Snippets
Type `userscript` to generate a userscript template. You can modify the default values of some meta data keys in the extension settings.
![Code Snippets](images/code_snippets.gif)
## Release Notes
Please check [CHANGELOG](CHANGELOG.md).
## License
![MIT](https://img.shields.io/github/license/andywang425/vscode-scriptmonkey?style=for-the-badge)
## Special Thanks
- [kufii](https://github.com/kufii): The metadata highlight feature of Scriptmonkey is improved from [vscode-userscript](https://github.com/kufii/vscode-userscript).