g2384 / VHDLFormatter

VHDL formatter web online written in typescript
https://g2384.github.io/VHDLFormatter/
MIT License
52 stars 20 forks source link

Add the option to ident muxes outside process aligned with the tab #72

Open rayuthebest opened 3 months ago

rayuthebest commented 3 months ago

Request a new feature

As a user, I want to...

Currently, program ident the muxes outside process aligned to the keyword '<= '. It would be nice if program could fill with spaces, balancing right and left sides, until reaching the configured identation pattern for avoid marking some of them as wrong idented

Example Input:

m_axis_data_tlast <= '1' when cnt_samples = 0 else -- Generate tlast on the last dataword sent
                     '0';

Example Output:

m_axis_data_tlast   <=  '1' when cnt_samples = 0 else -- Generate tlast on the last dataword sent
                        '0';

example