-
Notifications
You must be signed in to change notification settings - Fork 10
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
Fix: Indent after oneCommandCode on comment, block comment, empty line. Formatting inside block comment. #164
Fix: Indent after oneCommandCode on comment, block comment, empty line. Formatting inside block comment. #164
Conversation
3ed893f
to
ddd1445
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks so much, this is great code! It'd be awesome if we could update the tests in this PR as well, please let me know if you have any questions.
…xpression)" This reverts commit e4ae591. Fixed in another Pull Request
…ommand-complex # Conflicts: # src/test/suite/format/format.test.ts
Who must press |
TODO Feature directives for enable/disable trim spaces between words: |
…ommand-complex # Conflicts: # src/providers/formattingProvider.ts # src/test/suite/format/format.test.ts
Co-authored-by: Mark Wiemer <7833360+mark-wiemer@users.noreply.github.com>
…ommand-complex # Conflicts: # src/common/codeUtil.ts # src/test/suite/format/format.test.ts
…ommand-complex # Conflicts: # src/test/suite/format/format.test.ts
Done. |
Closes #59.
Closes #185.
Changes proposed in this pull request:
/*
and end*/
block comment patternbuildIndentedLine(...)
functiononeCommandCode
if current line is empty, single line comment or block comment;@AHK++FormatBlockCommentOn
and;@AHK++FormatBlockCommentOff
to format code inside block commentsIn:
Out:
Notifying @mark-wiemer