Support for regions
9 posts
• Page 1 of 1
Support for regions
Hi guys,
Is there already, or are we likely to see support for regions in <?php ?> php tags.
Eg; C#
#region
// some code here
#endregion
I have see extensions for VS that add region support to JavaScript using:
//#region
//#endregion
and in VS2012 CSS is supported using:
/*#region*/
/*#endregion*/
Some support for regions inside <?php ?> tags would be awesome.
Regards,
Scott
Is there already, or are we likely to see support for regions in <?php ?> php tags.
Eg; C#
#region
// some code here
#endregion
I have see extensions for VS that add region support to JavaScript using:
//#region
//#endregion
and in VS2012 CSS is supported using:
/*#region*/
/*#endregion*/
Some support for regions inside <?php ?> tags would be awesome.
Regards,
Scott
- codeowl
- Posts: 51
- Joined: February 10th, 2013, 10:05 am
Re: Support for regions
Hi Scott,
This feature is included in upcoming version 1.6. There will be support for following collapsible regions:
- <?php ... ?>
- multilined comments /* ... */
- multilined singleline comments //
Thanks,
This feature is included in upcoming version 1.6. There will be support for following collapsible regions:
- <?php ... ?>
- multilined comments /* ... */
- multilined singleline comments //
Thanks,
Jakub Misek │ DEVSENSE s.r.o. | @misekjakub │ jakub@devsense.com │
-
Jakub Misek - Posts: 2092
- Joined: January 4th, 2012, 2:42 pm
- Location: Prague
Re: Support for regions
I am using this feature heavily in the 1.6 Beta and it works great.
I am using the "C# style" so just the following:
Even works togehter with my Region Highlights extension.
I am using the "C# style" so just the following:
- Code: Select all
#region NAME
//code
#endregion
Even works togehter with my Region Highlights extension.
- CFI
- Posts: 66
- Joined: December 13th, 2012, 1:29 pm
Re: Support for regions
This features works in earlier version too. In 1.6 we are adding outlining support for <?php ...?> and multilined comments.CFI wrote:I am using this feature heavily in the 1.6 Beta and it works great.
I am using the "C# style" so just the following:
- Code: Select all
#region NAME
//code
#endregion
Even works togehter with my Region Highlights extension.
Jakub Misek │ DEVSENSE s.r.o. | @misekjakub │ jakub@devsense.com │
-
Jakub Misek - Posts: 2092
- Joined: January 4th, 2012, 2:42 pm
- Location: Prague
Re: Support for regions
Thanks guys, I can now see the #region works in the <?php element... I should have just tried that
Regards,
Scott
Regards,
Scott
- codeowl
- Posts: 51
- Joined: February 10th, 2013, 10:05 am
Re: Support for regions
New version has been released, so you can try additional outlining options.
BTW regions work also with standard single line comments
BTW regions work also with standard single line comments
- Code: Select all
//region ABC
//endregion
Jakub Misek │ DEVSENSE s.r.o. | @misekjakub │ jakub@devsense.com │
-
Jakub Misek - Posts: 2092
- Joined: January 4th, 2012, 2:42 pm
- Location: Prague
Re: Support for regions
Jakub,
Hey mate... how can I do a region inside a <Script> element in a .ctp page?
I have mapped this to PHP Editor in the VS Options/Text Editor/Extensions
Regards,
Scott
Hey mate... how can I do a region inside a <Script> element in a .ctp page?
I have mapped this to PHP Editor in the VS Options/Text Editor/Extensions
Regards,
Scott
- codeowl
- Posts: 51
- Joined: February 10th, 2013, 10:05 am
Re: Support for regions
Hi, support for js and css languages still have to be added.codeowl wrote:Jakub,
Hey mate... how can I do a region inside a <Script> element in a .ctp page?
I have mapped this to PHP Editor in the VS Options/Text Editor/Extensions
Regards,
Scott
Thanks, I'll keep you informed.
Jakub Misek │ DEVSENSE s.r.o. | @misekjakub │ jakub@devsense.com │
-
Jakub Misek - Posts: 2092
- Joined: January 4th, 2012, 2:42 pm
- Location: Prague
Re: Support for regions
Hi,
support for CSS and JavaScript languages will be a part of our HTML integration/intellisense; notifications at viewtopic.php?f=21&t=987
Thank you,
support for CSS and JavaScript languages will be a part of our HTML integration/intellisense; notifications at viewtopic.php?f=21&t=987
Thank you,
Jakub Misek │ DEVSENSE s.r.o. | @misekjakub │ jakub@devsense.com │
-
Jakub Misek - Posts: 2092
- Joined: January 4th, 2012, 2:42 pm
- Location: Prague
9 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 44 guests