https://github.com/vanjs-org/vanjshelper
My personal helper for writing VanJS and Mini-Van code. Specifically, it defines commands that are helpful for building the https://vanjs.org/ website.
https://github.com/vanjs-org/vanjshelper
Last synced: 8 months ago
JSON representation
My personal helper for writing VanJS and Mini-Van code. Specifically, it defines commands that are helpful for building the https://vanjs.org/ website.
- Host: GitHub
- URL: https://github.com/vanjs-org/vanjshelper
- Owner: vanjs-org
- License: mit
- Created: 2023-09-08T17:50:23.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-09-15T18:21:18.000Z (almost 3 years ago)
- Last Synced: 2025-05-31T03:25:46.276Z (about 1 year ago)
- Language: TypeScript
- Size: 45.9 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# vanjsHelper README
This is my personal helper for writing **VanJS** and **Mini-Van** code. Specifically, it defines commands that are helpful for building the https://vanjs.org/ website.
This extension is only intended for my personal use, as the commands are very specific to my use cases. That said, I feel that open sourcing it might be helpful if it can inspire people to build similar extensions.
## Command Reference
* `Insert Child` (`vanjsHelper.insertChild`): Shortcut: `ctrl+8`. Inserts a new child node in the current tag.
* `Insert Link` (`vanjsHelper.insertLink`): Shortcut: `ctrl+7`. Inserts a `Link` component.
* `Insert Symbol` (`vanjsHelper.insertSymbol`): Shortcut: `ctrl+6`. Inserts a `Symbol` component.
* `vanjsHelper: Import Component` (`vanjsHelper.importComponent`): Add import for the component at the cursor defined in [`common.ts`](https://github.com/vanjs-org/vanjs-org.github.io/blob/master/sitegen/common.ts).