Hey does anyone here know how to make VSCode auto fix missing semicolons instead of just show where it is missing?
I Started setting up Prettier and it will format apex code but not replace double quotes with single quotes nor insert missing semicolons.
Can someone point me in the right direction?
I tried:
Prettier, Uncrustify and none of them worked for me.
if (o.Owner.Username == "[email protected]"){
System.debug("why am I not bracced by singel quotes yet?")
}
this should be formatted to:
if (o.Owner.Username == '[email protected]'){
System.debug('why am I not bracced by singel quotes yet?');
}
Id be greatful for any hint :)