Closed ed-boon closed 3 years ago
Thanks for this bug report. I believe this has been fixed now.
Thank you so much for working on it!
The Formatter still seems to have the same problem when the component instantiations have a generic map. This one:
test_buf : component buf
generic map(
test => '0',
test2 => '1'
)
port map(
I => '0',
IO => open,
O => open,
T => '0'
);
test_buf : component buf
generic map(
test => '0',
test2 => '1'
)
port map(
I => '0',
IO => open,
O => open,
T => '0'
);
test_buf : component buf
generic map(
test => '0',
test2 => '1'
)
port map(
I => '0',
IO => open,
O => open,
T => '0'
);
still lines up like that
test_buf : component buf
generic map(
test => '0',
test2 => '1'
)
port map(
I => '0',
IO => open,
O => open,
T => '0'
);
test_buf : component buf
generic map(
test => '0',
test2 => '1'
)
port map(
I => '0',
IO => open,
O => open,
T => '0'
);
test_buf : component buf
generic map(
test => '0',
test2 => '1'
)
port map(
I => '0',
IO => open,
O => open,
T => '0'
);
Best regards
incorrect indentation on consecutive component instantiations
Note: the problem does not occur if the component and port map keywords are in the same line of code.
Input
Expected Behavior
Actual Behavior