- Clone this repo:
git clone https://github.com/bobbymannino/svelte-snippets-for-zed
- Go to Extensions menu in Zed IDE
- Click "Install Dev Extension"
- Select the folder you cloned
sv-loop
: An un-keyed loopsv-each
: A svelte each loopsv-each-else
: A svelte each loop with an else clausesv-if
: A svelte if statementsv-if-else
: A svelte else statementsv-props
: A script (ts) tag with an empty propssv-ts
: An empty script (ts) tagsv-page-props
: A script (ts) tag, with props, for a svelte pagesv-layout-props
: A script (ts) tag, with props, for a svelte layoutsv-style
: A style tagsv-global-style
: A global style tagsv-html
: A @html tagsv-await
: An await tagsv-then
: An await then tag with no loading contentsv-await-then
: An await then tag with loading contentsv-await-catch
: An await catch tag with loading contentsv-await-then-catch
: An await then catch tag with loading contentsv-window
: A<svelte:window />
tagsv-head
: A<svelte:head>
tagsv-on-mount
: A blankonMount
function