Version: SVN (using KDE 4.5.3)
I'm running KDevelop from git master 2010-11-23 and I really miss a KDevelop3 "Tools" feature. Executescript plugin seems to be able to replace it partially, but not to full extent.
For example, I used to be able to run cppcheck from context menu when right-clicking on files or directories in Projects tree (kdev3 used to show that menu on tab headers as well, but it's not crucial). Now I've got hardcoded paths or active files only, I can't simply point to a directory (or file, without opening it) in my project and check it.
It would be nice to have this functionality in KDevelop4. Maybe add some checkboxes to script configuration like "Show in file context menu" and "Show in directory context menu"...
right, shouldn't be hard to implement.
I just submitted a patch on reviewboard that adds the external scripts to the context menu in the files and projects views: https://git.reviewboard.kde.org/r/104133/
The review had been updated to make the requested changes one month ago. Is the patch applicable?
Git commit 1b54009e3aa6288bf2ae3ef65302e900b865d9fa by Milian Wolff.
Committed on 07/04/2012 at 16:04.
Pushed by mwolff into branch 'master'.
make extern scripts available through context menu
Now, the context menu in the project manager view, tab and editor
show a submenu "external scripts" which holds the available scripts
which can then be executed for the selected file(s).
scripts that depend on a user selection are only shown in
the editor context menu.
thanks to Ghislain Mary for the patch
M +1 -1 plugins/externalscript/CMakeLists.txt
M +78 -3 plugins/externalscript/externalscriptplugin.cpp
M +3 -0 plugins/externalscript/externalscriptplugin.h