zardoy / vscode-better-snippets

Create most advanced snippets for VSCode in existence
https://marketplace.visualstudio.com/items?itemName=zardoy.better-snippets
MIT License
6 stars 0 forks source link

Add setting to automatically load user WebStorm snippets #6

Open zardoy opened 2 years ago

zardoy commented 2 years ago

Example: %APPDATA%\JetBrains\WebStorm2021.2\jba_config\templates\React.xml:

<templateSet group="React">
  <template name="react" value="import React from 'react'&#10;&#10;const Untitled-1: React.FC = () =&gt; {&#10;    return &#10;}&#10;&#10;export default Untitled-1" description="" toReformat="false" toShortenFQNames="true">
    <context>
      <option name="JS_TOP_LEVEL_STATEMENT" value="true" />
    </context>
  </template>
</templateSet>

Ref: https://www.jetbrains.com/help/webstorm/directories-used-by-the-ide-to-store-settings-caches-plugins-and-logs.html#config-directory