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

查看:675
本文介绍了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 file

  • 基于目录的项目,本地配置: workspace.xml .idea 目录

  • 基于文件的项目,共享配置: .ipr file

  • 基于目录的项目,共享配置: .xml 下的文件> runConfigurations <$ c $的子目录c> .idea 目录

  • 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

这篇关于intellij idea运行配置备份的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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