Skip to content
| Marketplace
Sign in
Visual Studio Code>Snippets>Enhance.dev SnippetsNew to Visual Studio Code? Get it now.

Enhance.dev Snippets

Enhance

|
12 installs
| (0) | Free
Snippets for building with Enhance.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Enhance Snippets

Quickly author code in your Enhance project with custom snippets

screen recording

New file helpers

Trigger Content
eapi→ Export a named API route function
etapi→ Export JSDoc-typed a named API route function
eelem→ Export a default custom element with html
etelem→ Export a JSDoc-typed default custom element with html
ehead→ Export an Enhance "Head" function with HTML boilerplate
ethead→ Export a JSDoc-typed Enhance "Head" function

Development

Snippet Docs: https://code.visualstudio.com/docs/editor/userdefinedsnippets#_snippet-syntax
Based on: https://github.com/microsoft/vscode-extension-samples/tree/main/snippet-sample
Samples: https://github.com/xabikos/vscode-javascript/blob/master/snippets/snippets.json

  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2023 Microsoft