I would like to do multi-line edits in KDevelop, similar to the column-edit in Visual Studio when alt
is held, such that my cursor extends accross multiple lines, and each key I press is written to each line simultaneously.
This link seems to show that Kate has such a feature, and my understanding is that Kate is KDevelop's text-editing engine. However, when I use ctrl-shft-B
to enter block editing mode, the cursor only appears at the bottom of the block and types onto a single line. Am I doing something wrong, or is multi-line editing not actually supported?
I'm currently using version 4.7.2
You can make the same change to multiple lines by holding Shift + Alt then use the cursor keys .
Multi-Line Editing This is useful for HTML where you may want to change several hyperlinks at once or if you want to edit multiple rows in a JSON file. To employ multi-line editing, use the following command for your OS: Windows: Ctrl + Alt + Arrow Keys. Linux: Shift + Alt + Arrow Keys. Mac: Opt + Cmd + Arrow Keys.
After activating block editing mode you can select multiple lines by using the mouse or eg. Shift+Down
. Then just start typing.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With