Problem with 'Edit Configurations'
Answered
More specifically, can anyone point me to a resource that explains it?
JetBrains' own instructions aren't very good (at all).
A few specific issues:
Why does the 'Run' button sometimes appear, sometimes not?
Why is the configuration sometimes already filled in, sometimes not?
When do I have to create artifacts? Always?
What's the relationship between the Edit Configurations dialogue and the Project Structure?
I haven't found any articles out there that don't already assume you know these things.
Any help would be gratefully appreciated!
Thanks,
Frank
Please sign in to leave a comment.
> Why does the 'Run' button sometimes appear, sometimes not?
When indexing is performed, certain features are not available.
If you don't have any run configuration in the project, Run button is also disabled.
> Why is the configuration sometimes already filled in, sometimes not?
If you right click in a file with main method, run configuration is created automatically and main class value if prefilled. If you create a new configuration manually, it will not specify the main class. There are also template configurations which can prefill certain options.
> When do I have to create artifacts? Always?
If your run configuration needs an artifact (java ee project, android project, etc)
> What's the relationship between the Edit Configurations dialogue and the Project Structure?
https://www.jetbrains.com/idea/help/creating-and-editing-run-debug-configurations.html
https://www.jetbrains.com/idea/help/configuring-project-structure.html
In run configurations you specify what and how you will run, in the project structure you define the paths of the modules, their dependencies, etc.
Thanks Serge for the specifics.
Which template configurations exist? Is that what i see for Tomcat Server > Local?
Those you see under Defaults node are the template configurations. You can edit them so that all the new configurations of this type you add will start with certain defaults.
So.... I have a web application, but I can't get to 'Run'.





'Edit Configurations..' remains unsaved (despite the fact I've gone through this loop several times):
I select Tomcat Server > Local:
I click OK, but now what? It's not saved, and there's no option to Run it:
If I click on 'Run...' I can only Edit the condiguraion again...
I'm doing something very wrong here but it isn't clear to me. I have other similar projects which will run, i.e. get deployed to Tomcat, and Tomcat fires up to the right place. Can you help?
Thanks,
Andy
You cannot run Default configurations, create a new one first:

Great!!
thank you :)
Greetings everyone and happy new year. Please, I'm having serious issue trying to run my code in pycharm 3.1. In the Interpreter box, it displays "No interpreter" and doesn't allow me to choose anything in the box. Please I need help.My email address is samplezube@gmail.com. Thanks
Please add new interpreter using the appropriate page in settings:
https://i.imgur.com/8Bjb4cy.png
Here is a documentation page regarding that:
https://www.jetbrains.com/help/pycharm/configuring-python-interpreter.html
Also, please note that it is better to create a new thread here at the forum to ask new questions.