I recommend VSCode for its Svelte support. YMMV with other editors.
When using WSL and Windows, you may want to run VSCode in your Windows host instead of in Linux.
If this is the case, setup.sh
will try to copy over VSCode settings,
but they won't be used by your editor.
You can manually copy the config files:
- keybindings.json —
press
ctrl+shift+p
,Preferences: Open Keyboard Shortcuts (JSON)
- settings.json —
press
ctrl+shift+p
,Preferences: Open Settings (JSON)
- snips.code-snippets —
press
ctrl+shift+p
,Preferences: Configure User Snippets
,New Global Snippets file...
TODO automated solution for configuring VSCode in Windows?
nc
- new Svelte componentncc
- new Svelte component with childrensnip
- new Svelte snippetif
- Svelte if blockelse
- Svelte if/else blockrender
- Svelte render blockbtn
- HTML button
TODO improve these docs