<table><tr><td style="">gregormi created this revision.<br />Herald added a project: Kate.<br />Herald added a subscriber: kwrite-devel.<br />gregormi 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/D17316">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Currently, as far as I can see, an analyser like cppcheck or flake8 can<br />
only be started for all project files, but not for an individual file.</p>
<p>This is a basic mockup that adds three menu items to the context menu<br />
(it does nothing more).</p>
<p>The idea is that these items run the Code Analysis for the current file<br />
which also makes the Code Analysis tab more discoverable.</p>
<p>In (far) later steps:</p>
<ul class="remarkup-list">
<li class="remarkup-list-item">one could add a mapping where the file type determines which analysers</li>
</ul>
<p>are presented.</p>
<ul class="remarkup-list">
<li class="remarkup-list-item">one could present the results inline in the text area</li>
<li class="remarkup-list-item">it would maybe be nice if the exact parameters which with the analyser</li>
</ul>
<p>is called can be reviewed and changed.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R40 Kate</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/D17316">https://phabricator.kde.org/D17316</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>addons/project/kateprojectpluginview.cpp</div></div></div><br /><div><strong>To: </strong>gregormi<br /><strong>Cc: </strong>kwrite-devel, hase, michaelh, ngraham, demsking, cullmann, sars, dhaumann<br /></div>