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

aligning selection tabs contents to the right #60

Closed teaman closed 7 years ago

teaman commented 8 years ago

I select lines of code and press the cmd-cntrl-/ and not only does the alignment behave as described by the Settings, but it also tabs the contents to the right by at least a couple spaces. Not sure why this is being done and why it isn't a Setting that can be disabled.

adrianlee44 commented 8 years ago

Can you provide an example or record a gif of what you described over? Thanks.

teaman commented 8 years ago

Here's a screencast recording. http://screencast.com/t/4783UrkSVtG

In this recording... I select the two lines, type cmd-cntrl-/ and you see the selection jump to the right. I then undo and reapply the key combo and you see it happen again.

adrianlee44 commented 8 years ago

This is definitely a bug based on the screencast. Let me take a look at this.

adrianlee44 commented 7 years ago

Just testing the same code with the latest version of Aligner and it's working properly.

Closing this issue and please let me know if it's still an issue.