|
|
|
@ -6,7 +6,8 @@ authorURL: https://twitter.com/Rich_Harris
|
|
|
|
|
draft: true
|
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
*Coming soon* This post will walk you through setting up your editor so that recognises Svelte files:
|
|
|
|
|
*__Coming soon__*
|
|
|
|
|
This post will walk you through setting up your editor so that recognises Svelte files:
|
|
|
|
|
|
|
|
|
|
* eslint-plugin-svelte3
|
|
|
|
|
* svelte-vscode
|
|
|
|
@ -14,7 +15,7 @@ draft: true
|
|
|
|
|
|
|
|
|
|
## Atom
|
|
|
|
|
|
|
|
|
|
To treat `*.svelte` files as HTML, open Edit → Config... and add the following lines to your `core` section:
|
|
|
|
|
To treat `*.svelte` files as HTML, open *__Edit → Config...__* and add the following lines to your `core` section:
|
|
|
|
|
|
|
|
|
|
```cson
|
|
|
|
|
"*":
|
|
|
|
@ -63,6 +64,6 @@ To treat `*.svelte` files as HTML in WebStorm, you need to create a new file typ
|
|
|
|
|
## Sublime Text 3
|
|
|
|
|
|
|
|
|
|
Open any `.svelte` file.
|
|
|
|
|
Go to *__View → Syntax → Open all with current extension__* and choose `HTML` from an option list.
|
|
|
|
|
Go to *__View → Syntax → Open all with current extension__* and choose "HTML" from an option list.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|