Reputation: 387
I tried a few different plugins but can't manage to find a way to properly format the same way sublime can. Example result after formatting. I'd like to keep the properties in the same line if possible. Thanks.
VScode
Upvotes: 3
Views: 2166
Reputation: 387
Ok my bad! It was a plugin conflicting with the editor's own formatting tool. I uninstalled plugins one by one and found that the beautify plugin was the issue. Turns out VScode is pretty good out of the box. I used Sublime for a while and anytime I installed it I always went straight for the prettifiers, beautifiers, etc. Force of habit I guess.
Upvotes: 3