If the choice of formatter can't be given to users via a setting easily, how about showing a message like "Multiple formatter is available for this document.
TypeScript allows you to use EcmaScript import syntax to bring code from another file, or multiple files. Prettier Formatter for Visual Studio Code. Still.
Occasionally you will see the message There is no document formatter for 'typescript'-files installed. It enforces a consistent style by parsing your code and re-printing it with its own rules that take the maximum line length into account, wrapping code when necessary. tsserver.log doesn't show any format requests.
There were times where it was working. OK, running multiple formatter was a misunderstanding, but user not knowing which formatter getting picked isn't that good either. Prettier is an opinionated code formatter.
Run format document in a TypeScript file.
But I'm now unable to reproduce that and I get no message, and no formatting. This needs to be removed so users have a consistent VSC experience. This is very useful if you do not want to have all your code into a single file, or if you want to reuse code in different files. I was using only ESLint's extension with Prettier as eslint plugin/config in the last few months and now realized that it isn't working if I have eslint extension disabled and if don't have in the sample project at all. Today we expect the user to chose the formatter, VSC have now provided a UI allowing the user to choose the default formatter, meaning we no longer need to do this. Neither of the solutions is working for me.