tomblachut / svelte-intellij

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

Electron Autocomplete? #120

Closed ghost closed 4 years ago

ghost commented 4 years ago

I don't know if that's the right place for this issue, but I'm trying to use Electron with Svelte, when I try to require Electron package inside <script> tags I don't get any autocomplete, it works fine with .js files.

Screenshot from 2020-06-03 02-27-46

tomblachut commented 4 years ago

I think you need to use ESM imports inside Svelte, anyhow require syntax don't have any special support in this plugin.