Primary file in a multi-file project? #1408
Replies: 2 comments
|
There are commands:
There are toolbar buttons for these commands in the Project Explorer. So you can run your primary script with a shortcut without constantly switching editors. Of course Run Configurations is the other way. But this does involve right clicking and selecting Run. If you think that having a shortcut for running/debugging Run Configurations please create a new issue (enhancement) for that. Or maybe projects could have a default Run Configuration, and there could be commands for Run Project, Debug Project. |
|
Thank you for the quick answer. The way you propose is not perfect but viable. Maybe adding a primary file in the project properties would be nice anyway, but in the end I said so because it seems to me the "normal" way to manage projects; and I appreciate new perspectives when they work. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hi. I am using pyscripter for the first time, and I am writing a project with two files:

tkabtgeom is a module, imported by the main file which is pygeom.
The problem is that most code edits are made into the module, but then to test the project I have to switch editor tab to the main file, and then click run or hit F9. If I don't switch tab, the module is executed instead of the main file.
There seems to be no concept of "primary file"...
I tried to add a Run Configuration, but there is not a shortkey to run that, so one must use the mouse to open a pop-up menu and select, which is worse.
All reactions