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

allow for aligning comments #45

Closed btkostner closed 8 years ago

btkostner commented 8 years ago

Well done on the package, but there is one thing that seems missing. Being able to align comments together similarly to how variables are aligned.

From this:

var Apple      = require('apple'), // this is an apple
    Banana     = require('banana'), // this is a banana
    Grapefruit = require('grapefruit'); // grapefruit is best fruit

to something like this:

var Apple      = require('apple'),      // this is an apple
    Banana     = require('banana'),     // this is a banana
    Grapefruit = require('grapefruit'); // grapefruit is best fruit
adrianlee44 commented 8 years ago

Thanks for the suggestion. Will look into this.

nataliethistime commented 8 years ago

I would really like this feature :+1:

adrianlee44 commented 8 years ago

This is on my roadmap but haven't started working on it yet.

adrianlee44 commented 8 years ago

Please update to v0.19.0 for this feature