Indention Troubles

I’ve had this problem when copying in code from Dynamo to VS Code and this is the solution I used:

If you are working in VS Code, you can check your settings to make sure that when you tap tab, it uses spaces instead. And if you copy in code that has tabs instead of spaces, you can hit Ctrl+Shift+P and search for “Convert indentation to spaces” to covert all tabs to spaces.

1 Like