Перенос Scaladoc с правого поля в IntelliJ

#scala #intellij-idea #scaladoc

#scala #intellij-идея #scaladoc

Вопрос:

Есть ли какой-либо способ заставить IntelliJ переносить scaladoc с правого поля?

В принципе, я хочу это:

 /**
 * This is a method description that is long enough to exceed right margin.
 * <p/>
 * Another paragraph of the description placed after blank line.
 * <p/>
 * Line with manual
 * line feed.
  

для форматирования в этот:

 /**
 * This is a method description that is long
 * enough to exceed right margin.
 * <p/>
 * Another paragraph of the description
 * placed after blank line.
 * <p/>
 * Line with manual line feed.
 *
  

… если длина строки установлена на конец здесь:

                                           ^
  

Ответ №1:

Для этого есть специальная настройка — «Убедитесь, что правое поле не превышено»