Idea for the new version: Duplicate multiple Lines

Let us know what you would like to see in the next version of this software

Moderator: kfury77

Forum rules
Please follow these guidelines when posting feature requests. This will help to increase the value of your contribution.
  • Do not create new topics for already requested features. Add your comments to the existing feature request topics instead;
  • Create separate topic for each feature suggestion. Do NOT post a number of non-related feature suggestions in a single topic;
  • Give your topic a meaningful title. Do NOT create topics with meaningless titles, such as "My Suggestion" or "My Problem".
Please note that we DO READ all suggestions, even if a reply is not posted. Thanks!
Post Reply
DerCoe
Posts: 14
Joined: Sat Mar 17, 2012 9:00 pm

Idea for the new version: Duplicate multiple Lines

Post by DerCoe »

Hello,

my idea for the next version of Rapid PHP: Duplicate multiple selected lines with CTRL-D.

Example: I mark three lines an press CTRL+D, then the selected lines will duplicate under the marked lines. Like notepad++.

It's easierly to duplicate repeating Elements.

Greetz

Marko
Greetz vom Germany
Marko
viking
Posts: 24
Joined: Sun Jan 20, 2013 5:50 pm

Re: Idea for the new version: Duplicate multiple Lines

Post by viking »

+1

Hi

Eventhough I'm not too fond of Notepad++ I really like this feature as it can save quite a few repetitive task, so I also hope that this suggestion will get on the developer's to-do list and eventually find its way into WeBuilder2014.
Running version: WeBuilder2014 - 12.1.0.149
User avatar
Aivars
Blumentals Software Developer
Posts: 2462
Joined: Thu Aug 22, 2002 1:40 pm
Location: Latvia

Re: Idea for the new version: Duplicate multiple Lines

Post by Aivars »

Duplicate selected lines plugin: http://kaitnieks.com/files/duplicate%20lines.zip

Plugins -> Manage Plugins -> Install. After that you can assign any shortcut to it.
Blumentals Software Programmer
DerCoe
Posts: 14
Joined: Sat Mar 17, 2012 9:00 pm

Re: Idea for the new version: Duplicate multiple Lines

Post by DerCoe »

Hello,

where i find the plugin-menu at RapidPHP2011 ?
Greetz vom Germany
Marko
User avatar
MikeyB
Top Contributor
Posts: 511
Joined: Fri Jun 09, 2006 10:38 am
Location: UK
Contact:

Re: Idea for the new version: Duplicate multiple Lines

Post by MikeyB »

DerCoe wrote:Hello,

where i find the plugin-menu at RapidPHP2011 ?
You don't, plugins are new in version 2014 :D
User avatar
EvilBMP
Posts: 120
Joined: Thu Jan 04, 2007 1:57 am
Location: Germany

Re: Idea for the new version: Duplicate multiple Lines

Post by EvilBMP »

I improved the plugin of Aivars a little bit, so that it works nearly like the default functionality in the Netbeans IDE. That means, Ctrl+Shift+Up to copy lines up and Ctril+Shift+Down to copy lines down. Unfortunately you must assign the keyboard shortcuts again by yourself. I don't know if this is a bug or a feature, but the default assignments in the RegisterDocumentAction don't work.

Try it out: http://www.web-codes.de/storage/webuild ... ylines.zip
User avatar
Aivars
Blumentals Software Developer
Posts: 2462
Joined: Thu Aug 22, 2002 1:40 pm
Location: Latvia

Re: Idea for the new version: Duplicate multiple Lines

Post by Aivars »

I added your version here: http://forums.blumentals.net/viewtopic.php?f=33&t=5982

The default assignments don't work if they are already assigned by something else.

I repackaged your .zip file, too, because if folder is added to zip then the plugin will refuse to install, you need to add files instead.
Blumentals Software Programmer
DerCoe
Posts: 14
Joined: Sat Mar 17, 2012 9:00 pm

Re: Idea for the new version: Duplicate multiple Lines

Post by DerCoe »

Hello,

suddenly the Plugin doenst work anymore.

It doen't matter if I klick on "Plugins" -> "Duplicate Lines" or select the Shortcut CTRL+D.

What can I do ?

EDIT: It only won't work on line "1"...
Greetz vom Germany
Marko
User avatar
Aivars
Blumentals Software Developer
Posts: 2462
Joined: Thu Aug 22, 2002 1:40 pm
Location: Latvia

Re: Idea for the new version: Duplicate multiple Lines

Post by Aivars »

Whoops, the duplicate lines plugin had a bug, get the fixed version from http://forums.blumentals.net/viewtopic. ... 74&p=20616
Blumentals Software Programmer
DerCoe
Posts: 14
Joined: Sat Mar 17, 2012 9:00 pm

Re: Idea for the new version: Duplicate multiple Lines

Post by DerCoe »

Aivars wrote:Whoops, the duplicate lines plugin had a bug, get the fixed version from http://forums.blumentals.net/viewtopic. ... 74&p=20616
Thank you, now it works!
Greetz vom Germany
Marko
Post Reply