Re: apply indentation to a whole file

Todd Whiteman <[email protected]>
Newsgroups gmane.comp.ide.komodo.general
Message-ID <[email protected]>
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
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Other options: http://listserv.ActiveState.com/mailman/listinfo/Komodo-discuss
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.