背景:由于工作和学习的原因,在不同电脑之间都安装了Idea 或是更换了系统,麻烦的是这对Idea 又要重新设置一遍,所谓

工欲善其事必先利其器,可以将Idea的设置配置到第三方托管品台,例如:gitee.com 或者github.com等

官方的文档说明:https://www.jetbrains.com/help/idea/sharing-your-ide-settings.html#settings-repository

设置见下图:二者都可以

IDEA 在不同实例之间同步设置                          IDEA 在不同实例之间同步设置

  • 首先在三方托管平台上新建一个仓库,并记下仓库地址
  • 打开File-->Setting Repository

IDEA 在不同实例之间同步设置

  • 其中 `Upstream URL`即为刚刚的三方托管平台地址
  • 输入之后,点击Overwrite Remote 即可上传本地IDEA SETTING 到仓库地址
  1. On each computer where you want your settings to be applied, select File | Settings Repository from the main menu. Specify the URL of the repository you've created, and click Overwrite Local.
  2. You can click Merge if you want the repository to keep a combination of the remote settings and your local settings. If any conflicts are detected, a dialog will be displayed where you can resolve these conflicts.

  3.  

    If you want to overwrite the remote settings with your local settings, clickOverwrite Remote

 

  • 关闭手动同步
  • IDEA 在不同实例之间同步设置

相关文章:

  • 2022-01-11
  • 2021-10-29
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-21
  • 2022-12-23
猜你喜欢
  • 2021-09-06
  • 2022-12-23
  • 2022-12-23
  • 2022-01-19
  • 2021-12-19
  • 2021-10-09
相关资源
相似解决方案