How to set auto-indent in VS Code?

Hi,
It seems the VS Code DAML Studio doesn’t help with auto intent.

For example, I pressed “return” after “template Service”, and the cursor jumps to the next row but no indentation was automatically added, so I need to do the indentation by myself.

image

Is there configuration I should adjust in VS Code?

Thanks a lot!

/Guisong

3 Likes

Hi @GuisongFu, this would have to be a feature in the DAML VSCode extension, I believe, and it currently doesn’t have that feature.

1 Like