That sounds like an interesting implementation of code folding.

and would definitely help in refactoring big ball of mud pattern perl code

in fact, the more i think about it, the more i think that was a very 
productive breakfast.

Sven
________________________________________
Professional Wiki Innovation and Support
Enterprise Support Contracts for Foswiki
Sven Dowideit          http://fosiki.com


Gabor Szabo wrote:
> I am on the QA hackathon in Vienna and we discussed at the breakfast table
> an idea of making a one window perl one function based editing
> capability for Padre.
> 
> The idea would be that you edit one function at a time and you see
> both the code and the
> documentation in the window. It would still use the same file as
> earlier but internally Padre would
> recognize the different parts of the code and documentation and allow
> you to edit them
> in individual windows.
> 
> So when you open an existing file it would recognize the functions and
> the related documentation
> (e.g. sub xyz  is expected to have documentation in a
> 
>  =head2 xyz
> 
> or
> 
>  =item xyz
> 
> section in the pod. It can be either just above the function or at the
> top of the file or at
> the bottom of the file and the editor will put it back to the same place.
> 
> For new functions it would put the code and documentation in in the
> same way as it is done
> in the rest of the file and for a new file I guess it should be as in
> the rest of the project.
> 
> What do you think?
> 
> regards
>    Gabor
> _______________________________________________
> Padre-dev mailing list
> Padre-dev@perlide.org
> http://mail.perlide.org/mailman/listinfo/padre-dev
_______________________________________________
Padre-dev mailing list
Padre-dev@perlide.org
http://mail.perlide.org/mailman/listinfo/padre-dev

Reply via email to