intellij idea 运行配置备份 [英] intellij idea run configurations backup

查看:57
本文介绍了intellij idea 运行配置备份的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想创建一个脚本来修改我在 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 under runConfigurations 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屋!

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