It is annoying sometimes to see an auto comment or auto close labels generated by Dart extension on Visual Studio code during Flutter App building. The auto comment/closing labels look like below.
These auto closing labels are generated whenever you end calling widget class/function. There is a simple solution for it. You need to add the following JSON string on settings.json file of Visual Studio code. You can search for settings.json on the preference panel of VS Code.
"dart.closingLabels":false,
Save the settings.json file and the closing labels get removed immediately. The settings.json file may look like below.
In this way, you can disable auto-comment/closing labels for Flutter/dart code on Visual Studio Code IDE.
Please Wait...
No any Comments on this Article