Review Request 112226: Add CLI option to open files in running instances
Sven Brauch
svenbrauch at gmx.de
Fri Aug 23 20:27:24 UTC 2013
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/112226/
-----------------------------------------------------------
(Updated Aug. 23, 2013, 8:27 p.m.)
Review request for KDevelop.
Changes
-------
Yes, I had that idea right after I hit the "Submit" button.
Implemented in attached patch.
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 (updated)
-----
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/20130823/a16c3c88/attachment.html>
More information about the KDevelop-devel
mailing list