Skip to content

Auto import: is it possible to have space around { and }? #4425

Discussion options

You must be logged in to vote

Solved by ~/.vim/coc-settings.json

{
    "typescript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces": true,
    "typescript.preferences.quoteStyle": "single"
}

See all options here https://github.com/neoclide/coc-tsserver#configuration-options

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by vitaly-zdanevich
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant