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

Is it possible to make "begin" keyword align with case expression? #1168

Open
veripoolbot opened this issue May 26, 2017 · 1 comment
Open

Is it possible to make "begin" keyword align with case expression? #1168

veripoolbot opened this issue May 26, 2017 · 1 comment
Labels

Comments

@veripoolbot
Copy link
Collaborator

@veripoolbot veripoolbot commented May 26, 2017


Author Name: Enzo Chi
Original Redmine Issue: 1168 from https://www.veripool.org


We have coding style required the "begin" keyword has to align with the case expression:

Expected:

      case(sel)
          0:
          begin
              dout <= a;
          end

          ....
       endcase

But the verilog-mode always indent the "begin" as below:

      case(sel)
          0:
              begin
                  dout <= a;
              end

          ....
       endcase

@veripoolbot

This comment has been minimized.

Copy link
Collaborator Author

@veripoolbot veripoolbot commented Nov 19, 2017


Original Redmine Comment
Author Name: Wilson Snyder (@wsnyder)
Original Date: 2017-11-19T13:44:35Z


I don't believe there is presently a setting for this.

Note the indentation code is mostly maintained/improved as patches are contributed. So, perhaps you would like to consider contributing a patch for this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.