Perl Monk, Perl Meditation | |
PerlMonks |
Re: Pretty Print (perltidy integration)by LanX (Saint) |
on May 28, 2016 at 01:52 UTC ( [id://1164374]=note: print w/replies, xml ) | Need Help?? |
Actually there are three questions involved A) how to do this in a backwards compatible way to still be able to see the unformatted code. (Much posted code is broken, we need a fallback) B) if syntax highlighting should be added too C) how to implement this into the process chain Brainstorm: A) The only chance I see is an additional displaytype, like this users could switch between raw and formated source B) perltidy can also produce highlighted code, but startup is slow and would cause a lag C) patching perltidy to run in a server mode might be a solution. Alternatives?
Cheers Rolf
In Section
Perl Monks Discussion
|
|