tomblachut / svelte-intellij

Svelte components in WebStorm and friends
MIT License
485 stars 38 forks source link

Wrong indentation character when pasting code #94

Closed perifer closed 4 years ago

perifer commented 4 years ago

A project I work one indent code with spaces. When pasting code in a Svelte file with this plugin installed, the pasted code is indented with tabs instead of spaces. This also happens with code completions, like if

When writing the code is correctly indented with spaces.

If I instead associate .svelte files with HTML (and skip this plugin) indentation works correctly.

korywka commented 4 years ago

The same bug video:

https://www.dropbox.com/s/a65x6x26huq9k85/svelte-idea.gif?dl=0

After autoformat all spaces are correct.

tomblachut commented 4 years ago

Let me know if issue is still occurring in v0.13.0