Search code examples
javaintellij-ideajavadocintellij-14

IntelliJ adds extra * every time I hit enter in a block comment


I'm having a super strange problem with Idea.

Every time I hit enter in a block comment it adds an extra * on the line. It gets really annoying to have to delete it before typing each line. I have tried importing several coworkers code style settings who are not having this issue to no avail. I also can't seem to find the setting that would be doing this, and nothing on google. Anyone know a setting that could be causing this?

Example:

 /**
 * Some comment (pressing enter 3 times)
 * 
 * 
 * (cursor is here)* * * * 
 */

Another Example:

/**
* Some comment (press enter)
* (cursor is here)*
*/

Solution

  • I suspect this is a defect/regression. I've created an issue on YouTrack: https://youtrack.jetbrains.com/issue/IDEA-136673


    Update

    The IntelliJ team isolated the issue to Gauge plugin. I've logged the issue with plugin authors: https://github.com/getgauge/Intellij-Plugin/issues/39