Registered Member
|
is there a way/tool to automatically remove blank lines on kdevelop Version 4.3.1?
For instance
should be replaced by
|
KDE Developer
|
Inside your document, press Ctrl+R (for Search/Replace)
Then enter "\n\n" (without quotes) in the Find input element. Enter "" (without quotes) in the Replace input element. Select "Regular Expression" mode. Press Replace All. |
Registered Member
|
thanks krf but that's a kind of workaround. Are there no visual solution like a checkbox for removing the blank lines? Thanks
|
KDE Developer
|
Nope, there's no visual indicator for that kind of action.
You can file a bug/wish against Kate (KDevelop is using Kate as editor component) on bugs.kde.org for this kind of issue. I think it would be a good idea to have a separate action such as "Remove blank lines" hidden somewhere in the top menu. Other editors have that, too (e.g. Notepad++). |
Global Moderator
|
Well, you can just write a Kate script to do this. Then you'll have a menu action, too.
Cheers, Sven
I'm working on the KDevelop IDE.
|
KDE Developer
|
@sdemattia: Wouldn't that be a nice opportunity to contribute something to Kate?
|
Registered Member
|
@krf, yes that's sound nice. I hope I will have time and do it within the next 2 weeks
|
Registered users: Bing [Bot], daret, Google [Bot], Sogou [Bot]