OutOfMemoryError
OutOfMemoryError

Reputation: 421

IntelliJ: Copy & paste a text as comment well formatted

I would like to know if there is a way on IntelliJ (v.2019.3) to copy a text, i.e. the following:

Screening a transaction should return ‘REJECTED’ if the email id of transaction is in blacklist and transaction was made within last 30 days. In all other cases, it should return ‘ACCEPT’.

and to be paste as comment well formatted instead to have a single infinite line as:

enter image description here

Upvotes: 0

Views: 398

Answers (1)

pero_hero
pero_hero

Reputation: 3184

ensure right margin is not exceeded

could you try to go to Settings/Editor/Java/Wrapping and Braces/Ensure right margin is not exceeded

Upvotes: 1

Related Questions