adrianlee44 / atom-aligner

Easily align multi-line with support for different operators and custom configurations
https://atom.io/packages/aligner
MIT License
78 stars 3 forks source link

Comment duplication when aligning variables with and without operators. #62

Closed bunnyhackerr closed 7 years ago

bunnyhackerr commented 7 years ago
var score = 75;                      // score
var msg;            // message

Aligning the above ⬆️ (variables with operators + variables with no operators) results in comment duplication: ⬇️

var score = 75;                      // score
var msg;            // message       // message

The comments are now aligned, but the line with no operator does not delete the comment from the old position. 😩

adrianlee44 commented 7 years ago

Thanks for reporting this. Taking a look