intellij idea 运行配置备份 [英] intellij idea run configurations backup
问题描述
我想创建一个脚本来修改我在 intellij 中的调试配置.tomcat 的路径发生变化,我必须手动进入运行配置并进行编辑.我试图找到intellij存储这些设置的地方无济于事.
I would like to create a script to modify my debug configuration in intellij. The path of tomcat changes, and i have to manually go into the run config and edit things. I have tried to find the place where intellij stores these settings to no avail.
问题:有谁知道 IJ 在哪里存储其运行配置
question: does anyone know where IJ stores its run configuration
推荐答案
位置取决于 2 个因素,配置是用户本地配置还是与其他开发人员共享,以及您是否使用基于文件的(旧版)或基于目录的项目格式.
The location would depend on 2 factors, whether the configuration is local to the user or shared with the other developers and if you are using the file based (legacy) or the directory based project format.
- 基于文件的项目,本地配置:
.iws
文件 - 基于目录的项目,本地配置:
.idea
目录下的workspace.xml
文件 - 基于文件的项目,共享配置:
.ipr
文件 - 基于目录的项目,共享配置:
.idea
目录下runConfigurations
子目录下的.xml
文件或.run<项目根目录下的/code> 目录(最新版本可以自定义共享配置的位置).
- File based project, local configuration:
.iws
file - Directory based project, local configuration:
workspace.xml
file under.idea
directory - File based project, shared configuration:
.ipr
file - Directory based project, shared configuration:
.xml
file underrunConfigurations
subdirectory of.idea
directory or files inside.run
directory in the project root (you can customize the location of the shared configurations in the latest versions).
这篇关于intellij idea 运行配置备份的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!