flutterdartvisual-studio-code

How can I get tree-like indentation for Flutter code in VS Code?


How do I make VS Code do scaffolding guides like in the picture below?:


Solution

  • I found it mentioned and shown here: dart and flutter extensions:

    in the settings and enable the Dart:Preview Flutter Ui Guides option

    Unless you are using the Dart language you are not going to be able to get that same indent guide effect as it requires that specific syntax to parse and enable the feature to work.