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

Aleix Pol Gonzalez aleixpol at kde.org
Fri Aug 23 19:31:05 UTC 2013



> On Aug. 23, 2013, 6:19 p.m., Milian Wolff wrote:
> > Why do we need the extra option at all? Can't you make it work without the -o?
> >

+1 FWIW it's what Kate does, and even without the session picker AFAIK.


- Aleix


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


On Aug. 23, 2013, 6:09 p.m., Sven Brauch wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/112226/
> -----------------------------------------------------------
> 
> (Updated Aug. 23, 2013, 6:09 p.m.)
> 
> 
> 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/20130823/e5611ec1/attachment.html>


More information about the KDevelop-devel mailing list