Skip to content

Type to search extensions

Solid Typescript Snippets

v0.1.0

Zed extension with helpful code snippets for SolidJS.

Updated 1 year ago
50k downloads 3 stars Repository ↗

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!