tabs-to-spaces icon indicating copy to clipboard operation
tabs-to-spaces copied to clipboard

After spaces to tabs (or opposite) can you please also toggle soft tabs?

Open ioquatix opened this issue 9 years ago • 6 comments

This would mean that I don't have to run two commands to get tab indentation on a file that was previously using spaces, and vice versa.

ioquatix avatar Mar 13 '15 21:03 ioquatix

Related: It appears soft tabs are now disabled with the new release of tabs-to-spaces. When I disable tabs-to-spaces, soft tabs are enabled again. I'd like to be able to have soft tabs on while using tabs-to-spaces to untabify code.

albertlyu avatar Apr 25 '15 01:04 albertlyu

@albertlyu I can't reproduce that behavior. I always use soft tabs when I run Atom and I use tabs-to-spaces constantly.

Also, since your complaint is a bug, and not related to this feature request, would you please open a new Issue for it?

lee-dohm avatar Apr 25 '15 01:04 lee-dohm

@lee-dohm, I just enabled tabs-to-spaces and tested this again, and soft tabs are working. Not sure what the issue was last time, as I remember distinctly checking to make sure Atom's soft tabs were on, perhaps it was after I used the 'untabify on save' feature, though soft tabs are working now even with that on.

If I run into this behavior again, I'll try to provide with details on how to reproduce it. Otherwise, things look good again on my end.

albertlyu avatar Apr 29 '15 16:04 albertlyu

Awesome! I'm glad to hear it @albertlyu :grinning:

lee-dohm avatar Apr 30 '15 00:04 lee-dohm

Did some investigation around this last night. It isn't going to work until atom/atom#3719 is fixed.

lee-dohm avatar May 18 '15 14:05 lee-dohm

It looks like it's fixed?

ioquatix avatar Nov 06 '18 03:11 ioquatix