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

No columns-movement for signals inside constant declrations #999

Closed
ungultig1 opened this issue Aug 30, 2023 · 3 comments · Fixed by #1039
Closed

No columns-movement for signals inside constant declrations #999

ungultig1 opened this issue Aug 30, 2023 · 3 comments · Fixed by #1039

Comments

@ungultig1
Copy link

ungultig1 commented Aug 30, 2023

Hello,

i checked settings for "constant"-adjustments, but could not find any solution regarding this issue:

It moves columns for the record, but not for the constant declaration:

type t_my_rec is record
    signal_one       : std_logic;
    signal_onetwo    : std_logic;
end record my_rec ;

constant my_rec : t_my_rec :=
(
    signal_one => '0',
    signal_onetwo => '0'
);

Expected:

type t_my_rec is record
    signal_one       : std_logic;
    signal_onetwo    : std_logic;
end record my_rec ;

constant my_rec : t_my_rec :=
(
    signal_one       => '0',
    signal_onetwo    => '0'
);

Any plans to include this also?

Thx.

@jeremiah-c-leary
Copy link
Owner

Good Morning @ungultig1 ,

I pushed an update for this issue to the issue-999 branch.

I added rule constant_400 which will align the => in constant declarations.

When you get a chance could you check it out and let me know how it goes?

Thanks,

--Jeremy

@ungultig1
Copy link
Author

Good Afternoon @jeremiah-c-leary ,

i tested the column-movement for constant declarations.
It works perfect.

Thank you for fixing.

Greetings,

@jeremiah-c-leary
Copy link
Owner

Awesome, I will merge this to master.

--Jeremy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
2 participants