G.Refael
G.Refael

Reputation: 83

How to set VSCode typescript format for if statement

I'm trying to config the VSCode format to not set a new line after && in if statement

I'm trying to search after some new line functions at the settings.json

this what happened today after format enter image description here

I'm trying to set the format do this [expect after format](https://imgur.com/jYgGxhU)

Upvotes: 0

Views: 846

Answers (1)

sme
sme

Reputation: 4163

In VSCode, go to Settings > Text Editor > Word Wrap, and turn it off.

Alternatively, go to Settings > Text Editor > Word Wrap Column, and increase the column in which words will wrap (default is 80 I believe).

Upvotes: 1

Related Questions