Ideas for External Tools
Open, WishlistPublic

Description

Git

  • View History of current file
  • View History of current folder (see also QGit feature "Filter by tree selection, multiple selections allowed)
  • Blame file
  • Diff current file with version of another branch or revision
  • Advanced
    • Extract subfolder as new repository

CMake

  • Call cmake-gui

Profiling

  • Call valgrind and other profilers

Compare two selections (out of scope for the External Tools Plugin, see comments)
I just ran into the situation where I wanted to compare two blocks of code which looked identical.
I created a split view to have those two blocks side by side. I selected both of the blocks (with two views, this is possible).
Now, this is missing: a function that takes both selections and feeds them to kdiff3 (via temp files?).

gregormi created this task.Jan 13 2019, 1:59 PM
gregormi triaged this task as Wishlist priority.
gregormi updated the task description. (Show Details)
gregormi updated the task description. (Show Details)Jan 13 2019, 6:49 PM
gregormi updated the task description. (Show Details)Jan 13 2019, 8:21 PM
gregormi updated the task description. (Show Details)Jan 13 2019, 8:25 PM
gregormi updated the task description. (Show Details)

The example of the diff of two views is out of scope: On KTextEditor level, we don't even have a concept of having multiple views side by side, that is business of the host application. You will really only have the concept of one active view.

That's btw part of the reason why I'd like to have sn extendible way of adding variables %{...}>. Since this way, even though there is no concept of a project, the Projects plugin could register things like %{Project:Path} that thrn is automatically available in external tools.

The example of the diff of two views is out of scope: On KTextEditor level, we don't even have a concept of having multiple views side by side, that is business of the host application. You will really only have the concept of one active view.

Ok, then this Selection Compare function has to implemented at Kate level (maybe iterate over all views and expect exactly two selections). Do you think such a feature is useful?

gregormi updated the task description. (Show Details)Jan 13 2019, 9:12 PM
dhaumann moved this task from Backlog to Done on the Kate board.Oct 10 2019, 8:38 AM

The External Tools plugin is done for now. I would like to wait a bit to get feedback, and over time we can certainly add more default tools, or even extend the plugin with additional functionality.