-
Notifications
You must be signed in to change notification settings - Fork 4
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
Indention is incorrect when using colon-statement separator #92
Comments
Side Note: Side-Side Note: |
Yeah, this is one of the deficiencies in the formatter. Thanks for raising this. And also, don't hold back on raising the issues. There's only a few of us to work on all this stuff, but it's still way more valuable to know about the issues, so keep 'em coming! |
After things settle a bit for me (so close to being finished with this giant work project) I'll see if I can get these repos set up on my local so I can make actionable suggestions/PRs 🫡 |
That would be great! Here's a small writeup on how to get started contributing to the vscode extension and several of its associated packages: https://rokucommunity.github.io/vscode-brightscript-language/contributing.html#the-easy-way |
Roku Documentation: https://developer.roku.com/en-ca/docs/references/brightscript/language/statement-summary.md
Actual Indentation for Colon-Statement Syntax
See line 706, incorrectly knocking the indent back when using colon-statement syntax
Expected Indentation for Colon-Statement Syntax
This example is taken before the BS code formatter modified the indentation.
Correct Indentation Shown With If-Then Syntax
See line 706, correctly indented when using "if then" syntax
The text was updated successfully, but these errors were encountered: