Search code examples
pycharmwebstormsveltejetbrains-ide

List of available Svelte live templates "code snippets" in JetBrains IDEs


I am using JetBrains IDEs (PyCharm, WebStorm, etc.) to edit Svelte components with .svelte file extension.

The plugin https://plugins.jetbrains.com/plugin/12375-svelte clearly offers some live code templates. If I type if and press Tab it expands it to {#if }{/if}.

However, I could not find on the plugin page or in the IDE settings itself the list of what autocompletes are supported and what are the keywords.

Would anyone with more JetBrains IDE experience give a hint?


Solution

  • As per LazyOne's suggetion you can see some of templates if you type {# (the marker of Svelte template directive) and press Ctrl + Space / Cmd + Space

    enter image description here

    There are not many of them according to this.