Skip to content

formatCodeOptions not respected #321

Open
@LennardF1989

Description

@LennardF1989

I added the following to my tsconfig.json

"formatCodeOptions": {
    "placeOpenBraceOnNewLineForFunctions": true,
    "placeOpenBraceOnNewLineForControlBlocks": true
}

Looking in the tsserver.js that comes with the plugin, I see the compiler attempts to read these settings from somewhere (I assume its the tsconfig.json), however, it's simply not working. If also played with the casing, eventually literally copying it from the tsserver.js, but no game.

Is the server expecting a different file? Did I format it wrong? Or is it only partially implemented?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions