Plugin: Select Code Block v1.01

Browse, download and discuss plugins for Blumentals code editors
Post Reply
User avatar
pmk65
Posts: 678
Joined: Sun Dec 20, 2009 9:58 pm
Location: Copenhagen, Denmark

Plugin: Select Code Block v1.01

Post by pmk65 »

Selects PHP/JavaScript code blocks (functions) with optional support for DocBlock Comments.
Similar to the "Select Tag Block" HTML function.

Installation:
1) Download plugin .ZIP file.
2) Open WeBuilder and select "Plugins -> Manage Plugins" from the menu.
3) Click "Install" and select the .ZIP file you downloaded in step 1.

Usage:
1) Activate the plugin from the "Plugins" menu or press the hotkey Ctrl-Alt-Q while the editor cursor is inside a function.


Feedback appreciated. ;)
(I only use WeBuilder, so I haven't tested if it works in HTMLPad, Rapid CSS or Rapid PHP.)
Attachments
Select Code Block.zip
(2.25 KiB) Downloaded 1010 times
Last edited by pmk65 on Sun Apr 24, 2016 11:41 am, edited 1 time in total.
There are 10 types of people in the world: Those who understand binary and those who don't.
User avatar
Aivars
Blumentals Software Developer
Posts: 2462
Joined: Thu Aug 22, 2002 1:40 pm
Location: Latvia

Re: Plugin: Select Code Block v1.0

Post by Aivars »

I have some feedback, a suggestion rather: better improvement for JavaScript's

Code: Select all

lala = function() { .... }
Thanks for this and the other amazing plugins!
Blumentals Software Programmer
User avatar
pmk65
Posts: 678
Joined: Sun Dec 20, 2009 9:58 pm
Location: Copenhagen, Denmark

Re: Plugin: Select Code Block v1.0

Post by pmk65 »

Aivars wrote:I have some feedback, a suggestion rather: better improvement for JavaScript's

Code: Select all

lala = function() { .... }
Thanks for this and the other amazing plugins!
It works on javascript functions in that format, but there must be a linefeed between the curly brackets for it to work.

Code: Select all

lala = function() { 
.... }
There are 10 types of people in the world: Those who understand binary and those who don't.
User avatar
pmk65
Posts: 678
Joined: Sun Dec 20, 2009 9:58 pm
Location: Copenhagen, Denmark

Re: Plugin: Select Code Block v1.01

Post by pmk65 »

Small update. Now able to select "one-liner" functions without linefeed between curly brackets.
There are 10 types of people in the world: Those who understand binary and those who don't.
Post Reply