Good code formatter for .ts scripts in VS Code?

Usually in Visual Studio I use Code Format on Save from the extensions store or similar to format my code on save like if any functions are a few spaces out or indentation is wrong - is there any good extension like this for VS Code you guys use for .ts scripts? I have Prettier installed in VS Code but it seems to do nothing

Original Post on Discord

by user 103054507105067008

Oh reminds me to recommend this package: GitHub - yoavbls/pretty-ts-errors: πŸ”΅ Make TypeScript errors prettier and human-readable in VSCode πŸŽ€

That’s one that always comes up when I search, will see if it formats code too

by user 103054507105067008

It doesnt

It’s just to format the errors in vscode a bit nicer

Any suggestions for a code format package too? Mainly to fix indentations and sometimes VS Code starts the next line on the wrong indentation which drives me nuts

by user 103054507105067008

Okay so Prettier does work when set as Default Formatter just made sure to tick Format on Paste and Format on Save in the VS code settings

by user 103054507105067008