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

Commit Hook null at kde.org
Sun Aug 25 19:19:55 UTC 2013


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/112226/
-----------------------------------------------------------

(Updated Aug. 25, 2013, 7:19 p.m.)


Status
------

This change has been marked as submitted.


Review request for KDevelop.


Description
-------

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>.
Logic:
 * 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
-----

  app/main.cpp 12fa0e0 

Diff: http://git.reviewboard.kde.org/r/112226/diff/


Testing
-------

Tested all three cases, works


Thanks,

Sven Brauch

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20130825/4cd126ac/attachment.html>


More information about the KDevelop-devel mailing list