MX Coder Pack Forum :: Auto Indent/Outdent Braces in MX2004?

This thread was displayed: 1,262 times


Starting with 17th May 2007, Adobe Systems will stop offering support for any version of the discontinued InterAKT products. As a result, we will not answer to new support incidents starting with May 17th, 2007. Pending support incidents will still be followed in order to be closed. The product forums will remain open and be transformed in user-to-user forums. The general forums will be made read-only and not allow new posts or comments.

For more information about the affected products visit: www.interaktonline.com/Support/

View Threaded Show descending
JA
12-22-2004 22:12:40 GMT +2
Anyone know if there is a way to get Dreamweaver MX 2004 to auto indent/outdent braces similar to other code editors? So, when I'm writing PHP code and have an open curly brace and I close it, I'd like it to indent to the proper level. For example if my code looked like this..

if($var == 1)
{
print "One";
} // I want this bracket to automatically outdent to match the level of the "open" brace instead of being indented one level.

Dreamweaver's 'autoindent' feature doesn't include this. Any ideas?
Back | Reply | Quote | Top
Florin CARLIG[InterAKT]Adobe Systems Romania staff
12-23-2004 15:16:42 GMT +2

Hello Jamie,

This is a Dreamweaver problem which could be hard coded. Also, another thing to consider is that by modifying the way that Dreamweaver writes its code can cause the applied server behavior to not be recognized in the Server Behaviors list.

Regards,
Florin Carlig

 

Reply | Quote | Top
MX Coder Pack 1.1.1
© Adobe Systems Romania. All rights reserved.