如何在同一臺(tái)電腦上安裝兩個(gè)不同版本的idea
(1) 第一個(gè)idea正常安裝
(2)第二個(gè)(此處使用2022.2)使用idea壓縮包安裝,安裝在不同的目錄
(3)修改/ideaIU-2022.2.win/bin/idea.properties的如下配置:
#---------------------------------------------------------------------
# Uncomment this option if you want to customize a path to the settings directory.
#---------------------------------------------------------------------
idea.config.path=${user.home}/.IntelliJIdea2022.2.1/config
#---------------------------------------------------------------------
# Uncomment this option if you want to customize a path to the caches directory.
#---------------------------------------------------------------------
idea.system.path=${user.home}/.IntelliJIdea2022.2.1/system
#---------------------------------------------------------------------
# Uncomment this option if you want to customize a path to the user-installed plugins directory.
#---------------------------------------------------------------------
idea.plugins.path=${idea.config.path}/plugins
#---------------------------------------------------------------------
# Uncomment this option if you want to customize a path to the logs directory.
#---------------------------------------------------------------------
idea.log.path=${idea.system.path}/log
(4)同時(shí)在C:\Users\用戶\目錄下創(chuàng)建一個(gè)名稱為 .IntelliJIdea2022.2.1的文件夾
這樣兩個(gè)不同版本的idea就可以獨(dú)立的使用自己的一條配置文章來源:http://www.zghlxwxcb.cn/news/detail-522033.html
(5)第二個(gè)idea安裝完成后,打不開,但是緩存文件已經(jīng)生成了,需要?jiǎng)h除掉,
路徑 : C:\Users\用戶名\AppData\Roaming\JetBrains
找到打不開的那個(gè)版本的idea同名目錄刪除掉即可文章來源地址http://www.zghlxwxcb.cn/news/detail-522033.html
到了這里,關(guān)于在同一臺(tái)電腦上安裝兩個(gè)不同版本的idea的文章就介紹完了。如果您還想了解更多內(nèi)容,請(qǐng)?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!