Skip to content
This repository has been archived by the owner on Oct 10, 2024. It is now read-only.

addComment can't handle newlines in comments #718

Open
JakeWharton opened this issue Mar 25, 2019 · 1 comment
Open

addComment can't handle newlines in comments #718

JakeWharton opened this issue Mar 25, 2019 · 1 comment
Labels

Comments

@JakeWharton
Copy link
Collaborator

addComment("Hey\nFriends\nI\nBreak\nCode!")

Can't just split on newlines either since that would break formatting.

@jdyjjj
Copy link

jdyjjj commented Apr 20, 2022

I want to solve this problem by using "//"

jdyjjj added a commit to jdyjjj/javapoet that referenced this issue Apr 20, 2022
jdyjjj added a commit to jdyjjj/javapoet that referenced this issue Apr 20, 2022
jdyjjj added a commit to jdyjjj/javapoet that referenced this issue Apr 20, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants