RedditPP Mascot

RedditPP

r/vscode • … • u/Craigg75

Extension to add space between parenthesis in .vue files

I've spent most of the day trying to figure this out. Is it possible to use a beautifier (the marketplace is flooded with them) that will do one simple thing for my vue files. Add spaces between parenthesis. Like this --

if(x==1){

to this

if( x == 1 ) {

In Visual Studio this is super easy. Here it seems like you are either at the mercy of whatever formatter you try to use (I believe they call them "opinionated") or you have to use a combination of 5 or 6 extensions and hope you have every lined up just perfectly.

— 0