D17316: WIP/Mockup: Call an analyser for an individual file

gregormi 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.

REVISION SUMMARY
  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
  
  are presented.
  
  - 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.

REPOSITORY
  R40 Kate

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D17316

AFFECTED FILES
  addons/project/kateprojectpluginview.cpp

To: gregormi
Cc: kwrite-devel, hase, michaelh, ngraham, demsking, cullmann, sars, dhaumann
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwrite-devel/attachments/20181202/651db6e0/attachment.html>


More information about the KWrite-Devel mailing list