如何将 React 片段的实时模板 .jar 文件导入 JetBrains WebStorm?

How do I import a live template .jar file for React snippets into JetBrains WebStorm?

我从 jinsihou19 ReactSnippets on GitHub, referred by the JetBrains Marketplace 下载了一个实时模板 .jar 文件。

我在这两个站点上都找不到有关如何安装 .jar 文件的任何文档。

有人知道如何将这个 .jar 文件安装到 WebStorm 中吗?

要从 jar 安装插件,请遵循 documentation:

  1. Download the plugin archive (ZIP or JAR).
  2. Press Ctrl+Alt+S to open the IDE settings and select Plugins.
  3. On the Plugins page, click The Settings button and then click Install Plugin from Disk.
  4. Select the plugin archive file and click OK.
  5. Click OK to apply the changes and restart the IDE if prompted.

但是,在 Webstorm 的市场中搜索 React snippets 并点击安装可能更容易,因为您会找到相同的插件。