IntelliJ: Copy & paste a text as comment well formatted

OutOfMemoryError :

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

pero_hero :

ensure right margin is not exceeded

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

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=171138&siteId=1