abrookins / WrapToColumn

An IntelliJ plugin that wraps text
Apache License 2.0
62 stars 12 forks source link

Can strip text that looks like a comment symbol #15

Closed abrookins closed 8 years ago

abrookins commented 8 years ago

STR

/**
 * Let's provide a javadoc comment the has a link to some method, e.g. {@link #m()}.
 */
public class WrapToColumn {

    public static void m() { }
}

Select line 02 (" * Let's provide..."), then Action "Wrap to Column".

Result:

/**
 * Let's provide a javadoc comment the has a link to some method, e.g. {@link
 * m()}.
 */
public class WrapToColumn {

    public static void m() { }
}

It removes "#" from inside the @link tag, breaking the javadoc.

abrookins commented 8 years ago

This should be fixed by a change I made to resolve #16.