Skip to content

Conversation

@dmwyatt
Copy link
Contributor

@dmwyatt dmwyatt commented Dec 5, 2021

First time I ever looked through the tutorial the wording here made it seem like the only way to get a great IDE/Svelte tooling experience was with VS Code. Because of that I just didn't bother learning Svelte at the time.

Always good to be as inclusive as possible!

Before submitting the PR, please make sure you do the following

  • It's really useful if your PR references an issue where it is discussed ahead of time. In many cases, features are absent for a reason. For large changes, please create an RFC: https://github.com/sveltejs/rfcs
  • Prefix your PR title with [feat], [fix], [chore], or [docs].
  • This message body should clearly illustrate what problems it solves.
  • Ideally, include a test that fails without this PR but passes with it.

Tests

  • Run the tests with npm test and lint the project with npm run lint

First time I ever looked through the tutorial the wording here made it seem like the only way to get a great IDE/Svelte tooling experience was with VS Code. Because of that I just didn't bother learning Svelte at the time.

Always good to be as inclusive as possible!
@jasonlyu123
Copy link
Member

Don't know if this is better. There're still many other IDE extensions for svelte. Maybe it would be better to show a link to https://sveltesociety.dev/tools#editor-support

@bluwy
Copy link
Member

bluwy commented Dec 6, 2021

I agree with @jasonlyu123. The VSCode extension is officially supported so it's listed there. Showing https://sveltesociety.dev/tools#editor-support instead should cover the rest community IDE extensions.

@dmwyatt
Copy link
Contributor Author

dmwyatt commented Dec 6, 2021

I think just linking to the sveltesociety page (which I didn't know about!) is probably better.

Something along the lines of:

You'll also want to configure your text editor. There are plugins for many popular editors. If your editor does not have a Svelte plugin then you can follow this guide to configure your text editor to treat .svelte files the same as .html for the sake of syntax highlighting.

For the purposes of encouraging more people to try Svelte I think the VS Code extension shouldn't even be mentioned for the reason outlined in my original comment, but if the VS Code extension must be mentioned, then something like:

You'll also want to configure your text editor. There are plugins for many popular editors as well as an official VS Code extension. If your editor does not have a Svelte plugin then you can follow this guide to configure your text editor to treat .svelte files the same as .html for the sake of syntax highlighting.

@dummdidumm
Copy link
Member

I like the second option (+ linking the extension), because it's just the reality that VS Code is - right now - the best option, and the officially supported one.

@tanhauhau
Copy link
Member

I like the second option

Agree. Should still keep the link to the svelte vscode extension

@dummdidumm dummdidumm merged commit 683c39a into sveltejs:master Dec 10, 2021
@dummdidumm
Copy link
Member

dummdidumm commented Dec 10, 2021

Updated and merged the PR with the second proposal - thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants