FAQ
Edit report at http://pear.php.net/bugs/bug.php?id=12271&edit=1

ID: 12271
Comment by: mkpear
Reported By: marijn at grecom dot nl
Summary: Don't strip all blank lines
Status: Assigned
Type: Feature/Change Request
Package: PHP_Beautifier
Operating System: Linux
Package Version: 0.1.13
PHP Version: 5.2.3
Assigned To: clbustos
New Comment:

Nice, we'd like to see this fixed as well.

This is a showstopper for us as we use whitespaces to clearify the
code.

Thanks


Previous Comments:
------------------------------------------------------------------------

[2010-03-16 07:12:55] clbustos

<div id="changeset">
<span class="removed">-Assigned To:</span>
<span class="added">+Assigned To: clbustos</span>
</div>First priority, boys!

------------------------------------------------------------------------

[2009-10-17 00:46:19] harty83

YES!! My project director just decided to use this against all our
code and stripping out all the blank lines has me all in a tizzy. I
agree with the above statement that code all squashed together is not
beautiful!

Thanks,
Alan

------------------------------------------------------------------------

[2009-04-21 22:35:34] mvanlamz

I agree that newlines should not be stripped. This is a total
deal-breaker for me. Code without blank lines is not more beautiful.

------------------------------------------------------------------------

[2008-09-12 15:40:33] sunsetbrew

I agree. The removal of all blank lines is very difficult to read.

------------------------------------------------------------------------

[2008-01-09 17:19:38] mrich

Yes! I can't believe this option is not part of this package already;
while correcting indentation certainly helps make a code file more
readable, stripping out all the empty lines can make it worse than the
original! I agree there should be a way to preserve newlines in the file
and specify a maximum number of consecutive newlines (IE empty lines).

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://pear.php.net/bugs/bug.php?id=12271

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppear-bugs @
categoriesphp
postedApr 16, '10 at 1:49p
activeApr 16, '10 at 1:49p
posts1
users1
websitepear.php.net

1 user in discussion

Mkpear: 1 post

People

Translate

site design / logo © 2022 Grokbase