Skip to content

Commit bd72c12

Browse files
authored
(docs) Babel Javascript plugin troubleshooting
#320, #456
1 parent 19f1f17 commit bd72c12

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,10 @@ If your syntax highlighting seems to be not working for Svelte components, it ma
8383
}
8484
```
8585

86+
#### `export let ...` breaks my syntax highlighting
87+
88+
If you have the `Babel Javascript` plugin installed, this may be the cause. Disable it for Svelte files.
89+
8690
#### My Code does not get formatted
8791

8892
Your default formatter for Svelte files may be wrong. Either it's set to the old Svelte extension, or you set all files to be formatted by the prettier extension. To fix this, you need to explicitly tell VSCode to format the code with the `Svelte for VSCode extension`:

0 commit comments

Comments
 (0)