<table><tr><td style="">rjvbb created this revision.<br />rjvbb added a reviewer: KDevelop.<br />rjvbb requested review of this revision.
</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/D11934">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>The vast majority of the time I am perfectly happy running KDevelop with <tt style="background: #ebebeb; font-size: 13px;">Settings/Projects/Schedule all project files for parsing</tt> unticked. The files I open and the headers they include are still being parsed which means I rarely really feel I miss functionality.</p>

<p>There are situations though in which I'd like an entire project to be (re)parsed. This change makes that a lot easier by adding an action to the Project Manager's context menu that works on the selected project or projects.</p>

<p>I've done a bit of refactoring to avoid code duplication. For now I've put the action in the context menu only; I'm not convinced this will be used often enough to warrant using the approach followed with the other menu actions which are all available in different menus.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Works as intended as far as I can tell.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R32 KDevelop</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D11934">https://phabricator.kde.org/D11934</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>kdevplatform/language/backgroundparser/parseprojectjob.cpp<br />
kdevplatform/language/backgroundparser/parseprojectjob.h<br />
kdevplatform/shell/projectcontroller.cpp</div></div></div><br /><div><strong>To: </strong>rjvbb, KDevelop<br /><strong>Cc: </strong>kdevelop-devel<br /></div>