Region code folding?

General discussion on Zend Studio

Moderator: natalia_b_zend

Region code folding?

Postby howi2395 on Tue May 28, 2013 8:52 am

We are looking for a plugin (or, preferably, a built-in feature) which enables "regional" code folding, similar to Visual Studio:

Code: Select all
/**
* Information
*/
const INFO = 2;

#region Region description

/**
* Warnings
*/
const WARN = 3;

/**
* Errors
*/
const ERROR = 4;

/**
* Singleton
*
* @access   public
* @var      cortex_debug
*/
public static $instance;

/**
* Output messages via print
*
* @var   bool
*/
public static $echo = false;
#endregion



Code folding should result in...

Code: Select all
/**
* Information
*/
const INFO = 2;

Region description


Is there any plugin that does the above, or would the Zend team be willing to implement this feature? Knowing that the hashtag is a valid PHP comment and there already is code folding in Zend Studio, I wouldn't expect any problems.
howi2395
 
Posts: 9
Joined: Mon Mar 04, 2013 2:51 pm

Re: Region code folding?

Postby nitz9892 on Wed Apr 05, 2017 11:31 pm

Still not possible afaik in Zend Studios current version. Therefore this bump!

Please integrate region folding into the next release if possible.

#region getter/setter
...
#endregion

It makes the code much more readable.
nitz9892
 
Posts: 2
Joined: Sat Feb 15, 2014 8:10 pm


Return to Zend Studio

Who is online

Users browsing this forum: Yahoo [Bot] and 1 guest