D17316: WIP/Mockup: Call an analyser for an individual file
noreply at phabricator.kde.org
Sun Dec 2 16:15:41 GMT 2018
gregormi created this revision.
Herald added a project: Kate.
Herald added a subscriber: kwrite-devel.
gregormi requested review of this revision.
Currently, as far as I can see, an analyser like cppcheck or flake8 can
only be started for all project files, but not for an individual file.
This is a basic mockup that adds three menu items to the context menu
(it does nothing more).
The idea is that these items run the Code Analysis for the current file
which also makes the Code Analysis tab more discoverable.
In (far) later steps:
- one could add a mapping where the file type determines which analysers
- one could present the results inline in the text area
- it would maybe be nice if the exact parameters which with the analyser
is called can be reviewed and changed.
Cc: kwrite-devel, hase, michaelh, ngraham, demsking, cullmann, sars, dhaumann
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the KWrite-Devel