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
Rain fmt will separate multi line comments with windows return CR LF with new lines.
For example, if the comment lines below are separated by windows linebreak CR LF,
AWSTemplateFormatVersion: 2010-09-09
# Comment line 1
# Comment line 2
# Comment line 3
Description: Hello World
after running rain fmt, it will generate new lines between my comment.
AWSTemplateFormatVersion: "2010-09-09"
# Comment line 1
# Comment line 2
# Comment line 3
Description: Hello World
But if the comment lines are separated by unix linebreak LF, it will not add new lines into my comments.
AWSTemplateFormatVersion: "2010-09-09"
# Comment line 1
# Comment line 2
# Comment line 3
Description: Hello World
Is that expected behavior? As I am developing cloudformation template mostly through windows, and most of my files are created using windows. Rain fmt will break all my multi line comments :(
The text was updated successfully, but these errors were encountered:
Rain fmt will separate multi line comments with windows return CR LF with new lines.
For example, if the comment lines below are separated by windows linebreak CR LF,
after running rain fmt, it will generate new lines between my comment.
But if the comment lines are separated by unix linebreak LF, it will not add new lines into my comments.
Is that expected behavior? As I am developing cloudformation template mostly through windows, and most of my files are created using windows. Rain fmt will break all my multi line comments :(
The text was updated successfully, but these errors were encountered: