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
If a CODE_OPEN_TAG token is followed by a LITERAL token, break before writing the CODE_OPEN_TAG token if writing it will result in us eating up the remainder of the current line.
#4
Open
amorimvd2 opened this issue
Aug 22, 2021
· 1 comment
If a CODE_OPEN_TAG token is followed by a LITERAL token, break before writing the CODE_OPEN_TAG token if writing it will result in us eating up the remainder of the current line.
Partially fixes #84.
I’m not super happy about the breakBeforeIfAtEndOfLine name, but that’s the best I could come up with right now. I also wish there was a cleaner way of peeking at the next token.
If a
CODE_OPEN_TAG
token is followed by aLITERAL
token, break before writing theCODE_OPEN_TAG
token if writing it will result in us eating up the remainder of the current line.Partially fixes #84.
I’m not super happy about the
breakBeforeIfAtEndOfLine
name, but that’s the best I could come up with right now. I also wish there was a cleaner way of peeking at the next token.Originalmente postado por @now em google/google-java-format#638
The text was updated successfully, but these errors were encountered: