Hi
What do you think about 2 "Execute" commands instead of current 1:
1) execute cmd on file as if no project exists 2) execute cmd from "run_cmd" project field
I can write patch for it.
If you don't think this is great idea can I ask you to add "execute" command to plugin interface so I will be able implement such separation in geanyprj.
On Mon, 5 May 2008 13:47:39 +0300, Yura Siamashka yurand2@gmail.com wrote:
Hi
What do you think about 2 "Execute" commands instead of current 1:
- execute cmd on file as if no project exists
- execute cmd from "run_cmd" project field
I don't know what to speak against. Ideally, the second command for the project run_cmd is only visible if a project is actually loaded and its run_cmd is non-empty.
Regards, Enrico
On Mon, 5 May 2008 13:47:39 +0300 Yura Siamashka yurand2@gmail.com wrote:
Hi
What do you think about 2 "Execute" commands instead of current 1:
- execute cmd on file as if no project exists
- execute cmd from "run_cmd" project field
I can write patch for it.
IMO a separate execute/run command could be added to the core. How about changing the current run command so it only operates per document, and add a separate command for the project run command? This way the first command always does the same thing, so might be neater and more intuitive.
Build ... ->Run ->Run Project
The Run Project command could be set insensitive in build_menu_update() when no project is open or no project run command set.
Regards, Nick
On Fri, 9 May 2008 12:30:35 +0100 Nick Treleaven nick.treleaven@btinternet.com wrote:
On Mon, 5 May 2008 13:47:39 +0300 Yura Siamashka yurand2@gmail.com wrote:
IMO a separate execute/run command could be added to the core. How about changing the current run command so it only operates per document, and add a separate command for the project run command? This way the first command always does the same thing, so might be neater and more intuitive.
Build ... ->Run ->Run Project
The Run Project command could be set insensitive in build_menu_update() when no project is open or no project run command set.
This sounds good, if no one object I will write it this week-end.
On Fri, 9 May 2008 14:45:45 +0300, Yura Siamashka yurand2@gmail.com wrote:
On Fri, 9 May 2008 12:30:35 +0100 Nick Treleaven nick.treleaven@btinternet.com wrote:
On Mon, 5 May 2008 13:47:39 +0300 Yura Siamashka yurand2@gmail.com wrote:
IMO a separate execute/run command could be added to the core. How about changing the current run command so it only operates per document, and add a separate command for the project run command? This way the first command always does the same thing, so might be neater and more intuitive.
Build ... ->Run ->Run Project
The Run Project command could be set insensitive in build_menu_update() when no project is open or no project run command set.
This sounds good, if no one object I will write it this week-end.
I completely agree with this, sounds fine.
Regards, Enrico