Consider project specific formatting settings for auto format

A fall back to the workspace wide formatting settings happens if the
project settings couldn't be accessed.

Fixes #1002331
And it's not implemented with `'\n'`/`"""\n"""` without `\` in text because you want that last `\n` left after text? I'm just curious.