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

Smart indent rule for delegate grammar with alias #54

Open
sharwell opened this issue Jun 14, 2015 · 0 comments
Open

Smart indent rule for delegate grammar with alias #54

sharwell opened this issue Jun 14, 2015 · 0 comments

Comments

@sharwell
Copy link
Member

  1. Press Enter before the =.
  2. Press Enter after the =.
lexer grammar TestLexer;

import
    ImportedS=S;

❓ For each of the two described cases, what should the indentation be, and why?

πŸ“ For reference, currently the code assumes a delegate grammar will always fit on a single line (i.e. the alias, =, and delegate grammar name will appear on the same line).

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

No branches or pull requests

1 participant