[Geany-devel] execute cmd in project

Nick Treleaven nick.treleaven at xxxxx
Fri May 9 11:25:57 UTC 2008


On Mon, 5 May 2008 13:47:39 +0300
Yura Siamashka <yurand2 at gmail.com> wrote:

> 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.

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



More information about the Devel mailing list