<table><tr><td style="">kfunk created this revision.<br />Restricted Application added a subscriber: kdevelop-devel.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D8842" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Before this patch <tt style="background: #ebebeb; font-size: 13px;">--project PROJ</tt> had several flaws:</p>

<ul class="remarkup-list">
<li class="remarkup-list-item">Could not be used to open the project in an existing instance</li>
<li class="remarkup-list-item">Could not be used to open a project if there was an already running KDevelop instance</li>
</ul>

<p>With this change:</p>

<ul class="remarkup-list">
<li class="remarkup-list-item">We'll check which sessions contain PROJ<ul class="remarkup-list">
<li class="remarkup-list-item">We'll use the first match as the 'target session' to be opened</li>
</ul></li>
<li class="remarkup-list-item">Continue as usual<ul class="remarkup-list">
<li class="remarkup-list-item">If there's a KDevelop instance with that session open: activate</li>
<li class="remarkup-list-item">If not: Open a new instance with said session</li>
</ul></li>
</ul></div></div><br /><div><strong>REPOSITORY</strong><div><div>R32 KDevelop</div></div></div><br /><div><strong>BRANCH</strong><div><div>master</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D8842" rel="noreferrer">https://phabricator.kde.org/D8842</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>app/main.cpp</div></div></div><br /><div><strong>To: </strong>kfunk<br /><strong>Cc: </strong>kdevelop-devel<br /></div>