View unanswered posts | View active topics


Reply to topic  [ 3 posts ] 
Region folding in ActionScript 
Author Message
Admin

Joined: Wed Aug 31, 2005 7:27 am
Posts: 10726
Location: Paris, France
Post Region folding in ActionScript
Region folding like in .NET is possible with FlashDevelop using special comments:

Code:
[-]  //{ region Public methods
     ...
     //} endregion

Can be folded into:
Code:
[+]  //{ region Public methods

Tips:
- you can use the Match Brace (Ctrl+M) command to jump between the start and the end of the region,
- 'region' and 'endregion' are only "cosmetic" but are a usefull information.


Mon Jan 23, 2006 4:56 pm
Profile WWW
Member

Joined: Sat Aug 11, 2012 4:06 pm
Posts: 1
Post Re: Region folding in ActionScript
FlashDevelop is awesome!

I started using WebStorm/PHPStorm at work (as I'm unfortunately unable to do any Flash stuff) and I'd like to suggest a couple things that'd be nice in FD.

The clipboard functionality in WS/PS is awesome. It keeps a list of the last N things you copied & if you hit ctrl+shift+v it bring up a list you can double-click on to select what you want to insert & the current clip-board content.

Also it'd be nice if the code-folding regions only showed the description rather than the whole comment while collapsed.

Thanks for everything!!! :)


Sat Aug 11, 2012 4:19 pm
Profile
Member

Joined: Tue Aug 21, 2012 6:14 pm
Posts: 5
Post Re: Region folding in ActionScript
Sorry to resurrect this slightly older thread, however I have a question:

Any way to set Flash develop to collapse all regions by default?

The problem is that if I move the project somewhere else, then Flahdevelop wont remember which regions etc I've set to be collapsed, and all the regions will be expanded again, which really isnt that great.

in C# you can set the text editor to set all regions collapsed by default.


Tue Aug 21, 2012 6:19 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 3 posts ] 

Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.