ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> komodo-discuss
komodo-discuss
Re: [Komodo-discuss] apply indentation to a whole file
by Todd Whiteman other posts by this author
Jul 1 2009 12:13PM messages near this date
view in the new Beta List Site
[Komodo-discuss] apply indentation to a whole file | [Komodo-discuss] Komodo 5.1.4 released!
Tim Allingham wrote:
>  I'm just wondering if theres a way to apply the standard indentation 
>  configured in komodo to a file that has been originally written without 
>  indentation?
>  
>  I've got a few old files in a project I'm working on, that were 
>  originally written without any indent flow, and was hoping there is a 
>  way to easily apply an indent without manually going through a few 
>  thousand lines manually, am I missing the option for this or does it not 
>  currently exist in Komodo IDE?
>  

Hi Tim,

The best approach for this is to use an actual code formatter:
http://community.activestate.com/komodo-50-features#code_formatters

See here for the howto and examples to set up a new formatter:
http://community.activestate.com/faq/setting-new-komodo-ide-formatter

Cheers,
Todd
_______________________________________________
Komodo-discuss mailing list
Komodo-discuss@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Other options: http://listserv.ActiveState.com/mailman/listinfo/Komodo-discuss
Thread:
Tim Allingham
Todd Whiteman

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved