You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected behavior
Format verilog file in K&R style, indent size 2.
Actual behavior
Format result:
The file's indent size is 4. The argument -s2 is ignored.
Additional context
I guess the reason is the two commands below behaves differently: istyle --style=kr -s2 .\src\DM.v istyle -s2 --style=kr .\src\DM.v
The formmer result in indentsize=2, the latter 4.
So, changing the settings into
Describe the bug
Arguments "-s2" that should be passed to iStyle was ignored when I choose "K&R" style.
Environment :
Steps to reproduce
My iStyle formatter settings:
Expected behavior
Format verilog file in K&R style, indent size 2.
Actual behavior
Format result:
The file's indent size is 4. The argument
-s2
is ignored.Additional context
I guess the reason is the two commands below behaves differently:
istyle --style=kr -s2 .\src\DM.v
istyle -s2 --style=kr .\src\DM.v
The formmer result in indentsize=2, the latter 4.
So, changing the settings into
works.
The text was updated successfully, but these errors were encountered: