快速安装 IDEA 自动更新到 EAP

a1o*_*1o 3 intellij snap

不久前,我使用 snap 安装了 Jetbrains IDEA,它完美无缺。

Snap 已经将 IDEA 更新到他们的 EAP 分支(抢先体验计划)。

因为我只对一个工作和稳定的 IDE 感兴趣,所以我不喜欢这个而不是最新的稳定版本(在这种情况发生之前更新到)

有没有办法在 snap 内重新配置它?

Ter*_*nce 6

您可以通过运行以下命令将 snap 应用程序的安装从--edge或最新版本更改为该--stable版本:

sudo snap refresh intellij-idea-community --stable --classic
Run Code Online (Sandbox Code Playgroud)

如果你想回到最前沿的版本,运行它:

sudo snap refresh intellij-idea-community --edge --classic
Run Code Online (Sandbox Code Playgroud)

或者您也可以在测试版中运行它:

sudo snap refresh intellij-idea-community --beta --classic
Run Code Online (Sandbox Code Playgroud)

如果您想查看所有可供安装或切换使用的版本 snap info

例子:

~$ snap info intellij-idea-community 
name:      intellij-idea-community
summary:   Capable & Ergonomic Java IDE
publisher: jetbrains?
contact:   https://www.jetbrains.com/idea/documentation/
license:   unset
description: |
  IntelliJ IDEA Community Edition is a free and open-source edition of
  IntelliJ IDEA, the commercial Java IDE by JetBrains. IntelliJ IDEA
  Community Edition provides all the tools you need for Java, Groovy, Kotlin,
  Scala, and Android. It offers instant and clever code completion,
  on-the-fly code analysis, and reliable refactoring tools. Mission-critical
  tools such as integrated version controls systems and a wide variety of
  supported languages and frameworks are at hand — no plugin hustle included.
commands:
  - intellij-idea-community
snap-id:      KSPcSedMkvhgEjkg3Ki1PdjX2Ylm2aOy
tracking:     stable
refresh-date: today at 08:17 MDT
channels:                                   
  stable:           2018.2.4     (83) 481MB classic
  candidate:        2018.2.4     (83) 481MB classic
  beta:             2018.2.4     (83) 481MB classic
  edge:             2018.3-EAP   (87) 500MB classic
  2018.3/stable:    –                       
  2018.3/candidate: –                       
  2018.3/beta:      –                       
  2018.3/edge:      2018.3-EAP   (87) 500MB classic
  2018.2/stable:    2018.2.4     (83) 481MB classic
  2018.2/candidate: 2018.2.4     (83) 481MB classic
  2018.2/beta:      2018.2.4     (83) 481MB classic
  2018.2/edge:      2018.2.5-EAP (86) 481MB classic
  2018.1/stable:    2018.1.6     (65) 495MB classic
  2018.1/candidate: ?                       
  2018.1/beta:      ?                       
  2018.1/edge:      ?                       
  2017.3/stable:    2017.3.5     (36) 425MB classic
  2017.3/candidate: ?                       
  2017.3/beta:      ?                       
  2017.3/edge:      ?                       
installed:          2018.2.4     (83) 481MB classic
Run Code Online (Sandbox Code Playgroud)

希望这可以帮助!