In Kate, I can highlight a block of text, invoke the ad-hoc filter functionality with a key binding and then enter an arbitrary command into the dialog box. (Most of the time, it’s a variation of
perltidy.) The block is fed into the command’s stdin, and when the command is done, its stdout text replaces the block.
How do you do that in Kdevelop? There is no text filter menu entry or key binding.