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,169725
1,169725
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
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
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
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
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
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
725111
725111
Great, that's what I was looking for.
– LightCC
Nov 12 at 4:49
add a comment |
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
Great, that's what I was looking for.
– LightCC
Nov 12 at 4:49
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
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