bladnman / auto-align

Visual Studio Code extension to align code blocks
3 stars 3 forks source link

Thanks #3

Closed kiwicopple closed 4 years ago

kiwicopple commented 5 years ago

Not an issue per se, I just wanted to let you know that I'm using your plugin and I love it.

Thank you

kiwicopple commented 5 years ago

Feel free to close

kiwicopple commented 5 years ago

Actually I do have one question. Do you use Prettier, and if you do how do you configure these extensions to work together?

kiwicopple commented 5 years ago

It looks like this will be very hard. See here, here, here.

There is a prettier-miscellaneous package that has an option for Object Properties, but it looks like they aren't going to support variable vertical assignments.

Annoyingly, prettier doesn't seem to have prettier-ignore ranges for JS files, so I guess it's a tradeoff between prettier and alignment ¯_(ツ)_/¯

bladnman commented 4 years ago

Sorry kiwi! Just seeing these notes. Yeah, this stuff just fights with Prettier. In the end this can be useful to align things during editing and prettier takes care of things during committing.

This depends on a LOT of things, though.