Review Request 112226: Add CLI option to open files in running instances

Sven Brauch svenbrauch at
Sun Aug 25 17:55:42 UTC 2013

This is an automatically generated e-mail. To reply, visit:

(Updated Aug. 25, 2013, 5:55 p.m.)

Review request for KDevelop.


Sorry, I broke the exit status in the last suggestion (should return 1 on failure, not 0)


This feature has been requested various times by various users,
and I'd like to have it too.

The new option is -o <filename> / --open-file <filename>.
 * If no sessions are running, behaves like "kdevelop <file>".
 * If exactly one session is running, opens the file in that session
 * Otherwise, shows the session picker and opens the file in that session

Diffs (updated)

  app/main.cpp 12fa0e0 



Tested all three cases, works


Sven Brauch

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the KDevelop-devel mailing list