Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

mutil-line editing in KDevelop?

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

like image 407
Nicolas Holthaus Avatar asked Dec 17 '15 15:12

Nicolas Holthaus


People also ask

How do you edit multiple lines in Visual Studio?

You can make the same change to multiple lines by holding Shift + Alt then use the cursor keys .

What is multiline editing?

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.


1 Answers

After activating block editing mode you can select multiple lines by using the mouse or eg. Shift+Down. Then just start typing.

enter image description here

like image 181
Niko Sams Avatar answered Oct 06 '22 13:10

Niko Sams