Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Have procedure_call_400 align multi-line parameters with the assignment keyword #1078

Open
JHertz5 opened this issue Dec 23, 2023 · 0 comments
Assignees

Comments

@JHertz5
Copy link
Contributor

JHertz5 commented Dec 23, 2023

Is your feature request related to a problem? Please describe.

Currently, procedure_call_400 produces the following code:

entity test is
end entity test;

architecture rtl of test is

begin

  my_proc(
    formal_1 => actual_1 +
    actual_2,
    formal_2 => "test_text" &
    "test_text"
  );

end architecture rtl;

Note that the second line of the parameter is aligned with the formal parameters rather than the actuals.

Describe the solution you'd like
I would like to have it produce the following code:

entity test is
end entity test;

architecture rtl of test is

begin

  my_proc(
    formal_1 => actual_1 +
                actual_2,
    formal_2 => "test_text" &
                "test_text"
  );

end architecture rtl;

Would this be possible? No problem if not, this is definitely a "nice to have" feature.

@JHertz5 JHertz5 changed the title Have procedure_all_400 align multi-line parameters with the assignment keyword Have procedure_call_400 align multi-line parameters with the assignment keyword Jan 5, 2024
@jeremiah-c-leary jeremiah-c-leary self-assigned this Jan 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Triaged
Development

No branches or pull requests

2 participants