有没有一种简单的方法可以将我的整个Intellij安装到USB记忆棒上? [英] Is there an easy way to put my entire installation of Intellij on a USB stick?

查看:98
本文介绍了有没有一种简单的方法可以将我的整个Intellij安装到USB记忆棒上?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在考虑从Eclipse切换到Intellij。我喜欢Eclipse的一件事是整个安装只是一个文件夹,我可以将它放在USB记忆棒上并根据需要将其复制到另一台计算机上。我的所有插件,设置和其他所有东西都随我而来,我所要做的就是复制一个文件夹。

I'm considering switching from Eclipse to Intellij. One thing I like about Eclipse is that the whole installation is just a folder, and I can put that on a USB stick and copy it to another computer if I want. All of my plugins, settings, and everything else come with me and all I have to do is simply copy a folder.

我有什么方法可以用Intellij做到这一点?

Is there any way I could do this with Intellij?

推荐答案

是的,可以将安装目录复制到闪存驱动器,然后编辑 IDEA_HOME \bin\idea.properties 文件,更改 idea.config.path idea.plugins的值。路径到相对位置,例如: ../ config ../ user-plugins (位置相对于IDEA bin目录)。

Yes, it's possible, just copy the installation directory to the flash drive, then edit IDEA_HOME\bin\idea.properties file, change the values of idea.config.path and idea.plugins.path to the relative location, like: ../config and ../user-plugins (locations are relative to IDEA bin directory).

现在复制原始设置和第三方插件(如果有):

Now copy your original settings and third-party plug-ins (if any):


  • $ {user.home} /.IntelliJIdea10 / config => usb: / IDEA_HOME / config

  • $ {user.home} /.IntelliJIdea10 / config / plugins => usb:/ IDEA_HOME / user-plugins

  • ${user.home}/.IntelliJIdea10/config => usb:/IDEA_HOME/config
  • ${user.home}/.IntelliJIdea10/config/plugins => usb:/IDEA_HOME/user-plugins

请注意,它是建议改变e idea.system.path 变量,以便它保留在快速本地驱动器上,否则会影响IDEA性能并占用大量USB驱动器空间。

Note that it's not recommended to change idea.system.path variable, so that it remains on the fast local drive, otherwise it could affect IDEA performance and occupy a lot of USB drive space.

这篇关于有没有一种简单的方法可以将我的整个Intellij安装到USB记忆棒上?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆