Where does IntelliJ IDEA keep run/debug configurations?
up vote
0
down vote
favorite
Intellij IDEA will automatically create a run/debug configuration when you run any item that doesn't have a permanent run/debug configuration already present.
You can then save the run/debug configuration that was generated to make it permanent.
When you save a configuration, where is it saved?
java intellij-idea run-configuration
add a comment |
up vote
0
down vote
favorite
Intellij IDEA will automatically create a run/debug configuration when you run any item that doesn't have a permanent run/debug configuration already present.
You can then save the run/debug configuration that was generated to make it permanent.
When you save a configuration, where is it saved?
java intellij-idea run-configuration
As near as I can tell, they're saved in<project_directory>/.idea/workspace.xml
.
– Slaw
Nov 11 at 2:19
1
And if you mark a configuration as shared, it will be stored in a sub-folder under.idea
. That you can use to copy the configuration to another project.
– yegodm
Nov 11 at 3:41
@yegodm Thanks - I finally put 2-and-2 together and realized that your comment explains how to make the configurations separate from theworkspace.xml
file (per Slaw's comment and Sand's answer) so that it will be saved by git into a repo (that file is excluded by the.gitignore
files I found for good reason). That's the real problem I was trying to solve!
– LightCC
Nov 12 at 4:51
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
Intellij IDEA will automatically create a run/debug configuration when you run any item that doesn't have a permanent run/debug configuration already present.
You can then save the run/debug configuration that was generated to make it permanent.
When you save a configuration, where is it saved?
java intellij-idea run-configuration
Intellij IDEA will automatically create a run/debug configuration when you run any item that doesn't have a permanent run/debug configuration already present.
You can then save the run/debug configuration that was generated to make it permanent.
When you save a configuration, where is it saved?
java intellij-idea run-configuration
java intellij-idea run-configuration
asked Nov 11 at 2:09
LightCC
1,158725
1,158725
As near as I can tell, they're saved in<project_directory>/.idea/workspace.xml
.
– Slaw
Nov 11 at 2:19
1
And if you mark a configuration as shared, it will be stored in a sub-folder under.idea
. That you can use to copy the configuration to another project.
– yegodm
Nov 11 at 3:41
@yegodm Thanks - I finally put 2-and-2 together and realized that your comment explains how to make the configurations separate from theworkspace.xml
file (per Slaw's comment and Sand's answer) so that it will be saved by git into a repo (that file is excluded by the.gitignore
files I found for good reason). That's the real problem I was trying to solve!
– LightCC
Nov 12 at 4:51
add a comment |
As near as I can tell, they're saved in<project_directory>/.idea/workspace.xml
.
– Slaw
Nov 11 at 2:19
1
And if you mark a configuration as shared, it will be stored in a sub-folder under.idea
. That you can use to copy the configuration to another project.
– yegodm
Nov 11 at 3:41
@yegodm Thanks - I finally put 2-and-2 together and realized that your comment explains how to make the configurations separate from theworkspace.xml
file (per Slaw's comment and Sand's answer) so that it will be saved by git into a repo (that file is excluded by the.gitignore
files I found for good reason). That's the real problem I was trying to solve!
– LightCC
Nov 12 at 4:51
As near as I can tell, they're saved in
<project_directory>/.idea/workspace.xml
.– Slaw
Nov 11 at 2:19
As near as I can tell, they're saved in
<project_directory>/.idea/workspace.xml
.– Slaw
Nov 11 at 2:19
1
1
And if you mark a configuration as shared, it will be stored in a sub-folder under
.idea
. That you can use to copy the configuration to another project.– yegodm
Nov 11 at 3:41
And if you mark a configuration as shared, it will be stored in a sub-folder under
.idea
. That you can use to copy the configuration to another project.– yegodm
Nov 11 at 3:41
@yegodm Thanks - I finally put 2-and-2 together and realized that your comment explains how to make the configurations separate from the
workspace.xml
file (per Slaw's comment and Sand's answer) so that it will be saved by git into a repo (that file is excluded by the .gitignore
files I found for good reason). That's the real problem I was trying to solve!– LightCC
Nov 12 at 4:51
@yegodm Thanks - I finally put 2-and-2 together and realized that your comment explains how to make the configurations separate from the
workspace.xml
file (per Slaw's comment and Sand's answer) so that it will be saved by git into a repo (that file is excluded by the .gitignore
files I found for good reason). That's the real problem I was trying to solve!– LightCC
Nov 12 at 4:51
add a comment |
1 Answer
1
active
oldest
votes
up vote
1
down vote
accepted
run/debug configurations for a project are stored in the .idea/workspace.xml file inside the project location. You can see those entries under the <component name="RunManager"
node if you search for "RunManager" in that file.
Great, that's what I was looking for.
– LightCC
Nov 12 at 4:49
You're welcome.
– Sand
Nov 12 at 5:52
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
accepted
run/debug configurations for a project are stored in the .idea/workspace.xml file inside the project location. You can see those entries under the <component name="RunManager"
node if you search for "RunManager" in that file.
Great, that's what I was looking for.
– LightCC
Nov 12 at 4:49
You're welcome.
– Sand
Nov 12 at 5:52
add a comment |
up vote
1
down vote
accepted
run/debug configurations for a project are stored in the .idea/workspace.xml file inside the project location. You can see those entries under the <component name="RunManager"
node if you search for "RunManager" in that file.
Great, that's what I was looking for.
– LightCC
Nov 12 at 4:49
You're welcome.
– Sand
Nov 12 at 5:52
add a comment |
up vote
1
down vote
accepted
up vote
1
down vote
accepted
run/debug configurations for a project are stored in the .idea/workspace.xml file inside the project location. You can see those entries under the <component name="RunManager"
node if you search for "RunManager" in that file.
run/debug configurations for a project are stored in the .idea/workspace.xml file inside the project location. You can see those entries under the <component name="RunManager"
node if you search for "RunManager" in that file.
answered Nov 11 at 8:12
Sand
6029
6029
Great, that's what I was looking for.
– LightCC
Nov 12 at 4:49
You're welcome.
– Sand
Nov 12 at 5:52
add a comment |
Great, that's what I was looking for.
– LightCC
Nov 12 at 4:49
You're welcome.
– Sand
Nov 12 at 5:52
Great, that's what I was looking for.
– LightCC
Nov 12 at 4:49
Great, that's what I was looking for.
– LightCC
Nov 12 at 4:49
You're welcome.
– Sand
Nov 12 at 5:52
You're welcome.
– Sand
Nov 12 at 5:52
add a comment |
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53245246%2fwhere-does-intellij-idea-keep-run-debug-configurations%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
As near as I can tell, they're saved in
<project_directory>/.idea/workspace.xml
.– Slaw
Nov 11 at 2:19
1
And if you mark a configuration as shared, it will be stored in a sub-folder under
.idea
. That you can use to copy the configuration to another project.– yegodm
Nov 11 at 3:41
@yegodm Thanks - I finally put 2-and-2 together and realized that your comment explains how to make the configurations separate from the
workspace.xml
file (per Slaw's comment and Sand's answer) so that it will be saved by git into a repo (that file is excluded by the.gitignore
files I found for good reason). That's the real problem I was trying to solve!– LightCC
Nov 12 at 4:51