Skip to content

HarryYu02/zed-solid-ts-snippets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zed-solid-ts-snippets

Solid Typescript snippets

A Zed-version of solid-snippets

Installation

Update: zed-solid-ts-snippets is officially published on the Zed extension store! You can now simply enable it in the Zed app.

  1. Clone the repo
git clone https://github.com/HarryYu02/zed-solid-ts-snippets.git
  1. Open Zed > Extensions

  2. Click "Install Dev Extension" > Select your cloned repo

Supported snippets

Prefix Description
safc Solid function component
sapc Solid parent component
saflc Solid flow component
savc Solid void component
safci Function component w/ imports
safce Function component w/ imports + export
sapci Parent component w/ imports
sapce Parent component w/ imports + export
saflci Flow component w/ imports
saflce Flow component w/ imports + export
savci Void component w/ imports
savce Void component w/ imports + export
sahc Extend HTML element
sahci Extend HTML w/ imports
sahce Extend HTML w/ imports + export
sctxp Solid context provider boilerplate
ssig createSignal shorthand
seff createEffect shorthand
seffon createEffect(on(...)) variant
smemo createMemo shorthand
smemoon createMemo(on(...)) variant

Contributing

Any contributions are welcomed!

About

Zed Solid TS Snippets Extension

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published