Skip to content

Javadoc indent broken after hitting return in first line #145

Description

@mp911de

Used versions:
IntelliJ: 2017.2 RC2 (172.3317.53)
Plugin version: 17.0.132.637.1

Steps to reproduce:

  1. Have a Java type with Javadoc
  2. Place caret in first line (directly after /** )
  3. Hit enter

Symptom: Whitespace before the asterisk in the next line is removed
Expected behavior: Use same indentation as the first line.

Looks like:

Before hitting enter:

/**
 *
 */
public interface MyClass {}

After:

/**
*
 *
 */
public interface MyClass {}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions