History log of /PHP-Parser/test/code/formatPreservation/indent.test (Results 1 – 2 of 2)
Revision Date Author Comments
# 961f158f 29-Sep-2024 Nikita Popov

Avoid negative indendation in formatting-preserving printer

Fixes #1015.


# e50c67b7 21-Sep-2024 Nikita Popov

Add basic support for tab indentation

Add a new "indent" option for the pretty printer, which can be
use to control the indentation width, or switch it to use tabs.

Tab width is

Add basic support for tab indentation

Add a new "indent" option for the pretty printer, which can be
use to control the indentation width, or switch it to use tabs.

Tab width is currenlty hardcoded to 4, but also shouldn't matter
much.

Possibly the formatting-preserving printer should auto-detect
the indentation in the future.

show more ...