[PD-dev] Pd code formatter?

marius schebella marius.schebella at gmail.com
Wed Sep 26 18:00:44 CEST 2007


oops, sorry for my last mail, did not get what you were talking about...
marius.

Miller Puckette wrote:
> My settings are:
> 
> tabs are 8 spaces
> indents are 4 spaces
> 
> but to make things easier I always expand out tabs when releasing code;
> this is done with a shell script using the wonderful and (I think) universally
> available "expand" program.
> 
> HC's tabs are hardwired to 4 spaces (old Next style, apparently still
> in use somewhere :)  so to use HC's code I first run "expand -4" on it.
> 
> Oh yes, in the latest CVS upload there are still 8-character tab stops
> in one file, u_main.tk, which I forgot to include in the detabbing script.
> I fixed the script since.
> 
> cheers
> Miller
> 
> On Wed, Sep 26, 2007 at 11:26:31AM -0400, Hans-Christoph Steiner wrote:
>> Hey all,
>>
>> Has anyone ever tried to use indent or some tool to reformat code to  
>> match Miller's code formatting?  It would be good to have a standard  
>> code format, and since the one that Miller uses it difficult to  
>> configure with many editors and non-standard, it would be quite  
>> useful to have some automated tool to make sure everything is in order.
>>
>> .hc
>>
>>
>> ------------------------------------------------------------------------ 
>> ----
>>
>> You can't steal a gift. Bird gave the world his music, and if you can  
>> hear it, you can have it. - Dizzy Gillespie
>>
>>
>>
>>
>> _______________________________________________
>> PD-dev mailing list
>> PD-dev at iem.at
>> http://lists.puredata.info/listinfo/pd-dev
> 
> _______________________________________________
> PD-dev mailing list
> PD-dev at iem.at
> http://lists.puredata.info/listinfo/pd-dev
> 





More information about the Pd-dev mailing list