google / bamboo-soy

An intellij plugin supporting Closure Template language (Soy)
Apache License 2.0
48 stars 27 forks source link

Parameter documentation is not indented properly #162

Open DreierF opened 6 years ago

DreierF commented 6 years ago

When using documentation comments like suggested in the Closure Templates Documentation the comments are not indented, which looks a bit odd.

{template .template}
/* My comment. */
    {@param p1: ?}
/* Another comment. */
    {@param p2: ?}
    <div>
        ...

Thank you so much for this awesome plugin 🙂

crdev commented 4 years ago

A doc comment is denoted by TWO leading stars, like this:

/** My comment. */

With this in place, you should get correct doc comments formatting.