WebStorm 2021.2 Help

Update 更新WebStorm

By default, WebStorm is configured to check for updates automatically and notify you when a new version is available. 默认情况下,WebStorm配置为自动检查更新,并在新版本可用时通知您。Updates are usually patch-based: they are applied to the existing installation and only require you to restart the IDE. 更新通常基于补丁:它们应用于现有安装,只需要重新启动IDE。However, sometimes patch updates are not available, and a new version of WebStorm must be installed.但是,有时补丁更新不可用,必须安装新版本的WebStorm。

When WebStorm updates to a new major release, it opens the What's New in WebStorm tab in the editor with information about the changes, improvements, and fixes. 当WebStorm更新到新的主要版本时,它会在编辑器中打开“WebStorm中的新增内容”选项卡,其中包含有关更改、改进和修复的信息。To open this tab manually, select Help | What's New in WebStorm.要手动打开此选项卡,请选择帮助| WebStorm中的新增功能

If WebStorm does not have HTTP access outside your local network, it will not be able to check for updates and apply patches. 如果WebStorm在您的本地网络之外没有HTTP访问权限,它将无法检查更新并应用修补程序。In this case, you have to download new versions of the IDE and install them manually as described in Standalone installation.在这种情况下,您必须下载IDE的新版本,并按照独立安装中的说明手动安装它们。

Toolbox App工具箱应用程序

If you installed WebStorm using the Toolbox App, it will suggest you to update the IDE when a new version is available.如果您使用工具箱应用程序安装WebStorm,它将建议您在新版本可用时更新IDE。

Automatically update all managed tools自动更新所有托管工具

  1. Open the Toolbox App and click The screw nut icon in the top right corner.打开工具箱应用程序并单击右上角的The screw nut icon

  2. In the Toolbox App Settings dialog, expand Tools and select Update all tools automatically.在“工具箱应用程序设置”对话框中,展开“工具”,然后选择“自动更新所有工具”。

If you disable this option, you will need to click Update next to any instance when a newer version comes out.如果禁用此选项,则在出现新版本时,需要单击任何实例旁边的更新

You can also configure the update policy for every managed IDE instance separately.您还可以分别为每个托管IDE实例配置更新策略。

Configure the update policy for a specific instance为特定实例配置更新策略

  1. Open the Toolbox App, click The screw nut icon next to the relevant IDE instance, and select Settings.打开工具箱应用程序,单击相关IDE实例旁边的The screw nut icon,然后选择设置

  2. In the instance settings dialog, expand Updates.在“实例设置”对话框中,展开“更新”。

  3. If necessary, select to keep using the current major version to make sure that the Toolbox App does not update the current IDE instance to a newer major version when it comes out.如有必要,请选择“继续使用当前主版本”,以确保工具箱应用程序在出现时不会将当前IDE实例更新为较新的主版本。

  4. If you did not choose to automatically update all tools, you can select to automatically update this particular IDE instance.如果未选择自动更新所有工具,则可以选择自动更新此特定IDE实例。

  5. Select the update channel to use for this IDE instance:选择要用于此IDE实例的更新通道:

    • Update to Release: Update only to stable releases that are recommended for production.更新到版本:仅更新到推荐用于生产的稳定版本。

    • To Release and Early Access Program发布和提前访问程序: Includes updates to beta releases, release candidates, and EAP builds, which are not recommended for production and include feature previews.:包括beta版本、候选版本和EAP版本的更新,不建议用于生产,并包括功能预览。

Standalone instance独立实例

If you installed WebStorm manually, the standalone IDE instance will manage its own updates. 如果手动安装WebStorm,独立IDE实例将管理自己的更新。It will notify you when a new version is available. 当新版本可用时,它将通知您。You can choose to update the current instance, download and install the new version as a separate instance, postpone the notification, or ignore the update entirely.您可以选择更新当前实例、作为单独实例下载并安装新版本、推迟通知或完全忽略更新。

Configure the update policy配置更新策略

To manage the WebStorm update policy, open Settings/Preferences Ctrl+Alt+S and select Appearance & Behavior | System Settings | Updates.要管理WebStorm更新策略,请打开设置/首选项 Ctrl+Alt+S 并选择“外观和行为”|“系统设置”|“更新”。

The Updates page contains the following settings:更新”页面包含以下设置:

Item项目Description描述
Check IDE updates for检查IDE更新以获取

Select whether you want WebStorm to check for updates automatically and choose an update channel.选择是否希望WebStorm自动检查更新并选择更新频道。

  • Early Access Program早期访问计划: Provides all updates, including major version EAP builds and minor version Preview builds. :提供所有更新,包括主要版本EAP生成和次要版本预览生成。This channel is not recommended for production development.不建议将此频道用于产品开发。

    WebStorm can be updated only to a minor Preview version, but not to a major EAP build. WebStorm只能更新为次要预览版本,但不能更新为主要EAP版本。For example, you can update WebStorm 2021.1.1 to 2021.1.2, but not to 2021.2 EAP. 例如,您可以将WebStorm 2021.1.1更新为2021.1.2,但不能更新为2021.2 EAPThe 2021.2 EAP version in this case will be installed as an additional instance.本例中的2021.2 EAP版本将作为附加实例安装。

    EAP versions can be updated to both newer EAP and stable WebStorm versions. EAP版本可以更新为更新的EAP和稳定的WebStorm版本。If an EAP version is updated to a stable version at some point, the name of the original installation directory does not change.如果EAP版本在某个时候更新为稳定版本,则原始安装目录的名称不会更改。

  • Stable Releases稳定发布: Includes only stable releases that are recommended for production.仅包括推荐用于生产的稳定版本。

Check for plugin updates检查插件更新

Select whether you want WebStorm to check for new versions of plugins automatically.选择是否希望WebStorm自动检查插件的新版本。

Check for Updates检查更新

Check for updates immediately.立即检查更新。

Manage ignored updates管理被忽略的更新

Show the list of updates that were ignored. 显示被忽略的更新的列表。These updates will not be suggested until you remove them from the list of ignored updates.在您将这些更新从忽略的更新列表中删除之前,不会建议这些更新。

Show What's New in the editor after an IDE update显示IDE更新后编辑器中的新增内容Open a tab with information about new features and improvements after a major IDE update.在主要IDE更新后,打开一个包含新功能和改进信息的选项卡。

Snap packagesnap照包

If you installed WebStorm as a snap package, it will manage updates automatically. 如果您将WebStorm作为snap软件包安装,它将自动管理更新。All snaps are updated automatically in the background every day. 所有snap每天都会在后台自动更新。You can also get the latest version of all snaps manually at any time by running the following command:还可以通过运行以下命令,随时手动获取所有快照的最新版本:

sudo snap refresh

Or if you want to update only the WebStorm snap:或者,如果只想更新WebStorm snap:

sudo snap refresh webstorm
Last modified: 19 May 2021