Skip to content
CCPEDIAby Unity Nodes
Discussions/App Development/How to set auto-indent in VS Code?Forum ↗

How to set auto-indent in VS Code?

App Development2 posts410 views4 likesLast activity Nov 2020
GU
GuisongFuOP
Oct 2020 3

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

BE
bernhard
Nov 2020 1

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

← Back to Discussions