lmcarreiro/smart-column-indenter

format with comments or break not work

Opened this issue · 0 comments

hi, if you add a comments on a new line or a break line it not work.
It possible to fix this issue to be able to select a code with comments on new line and use the formatter?

short ex:

            name: this.name, // comment inline work
            // comment here, on new line break the plugin
            position: [this.position.x, this.position.y],
            scale: [this.scale.x, this.scale.y],
            skew: [this.skew.x, this.skew.y],
            pivot: [this.pivot.x, this.pivot.y],

thank a lot for this awesome plugin, and tell me if need more info.

edit: also related:
#2