Tabs as 4 spaces indentation, is it possible?

I am using a Georgia (Serif) font and its spaces are smaller. I would like to change the formatting of ReScript to use 4 spaces instead of 2 spaces for indentation. Is this possible in VSCode? I tried changing the settings but the ReScript formatter keeps changing it to 2 spaces.

the tab spacing is too tight:
image

example with 4 spaces:
image

Most likely impossible. Rescript formatter is opinionated: you don’t configure it, you just consume it as is.

And I don’t think many people use proportional fonts for code, so I wouldn’t expect your use case to compel anyone to change anything. Monospaced fonts are standard for code and terminals.

3 Likes