Download StackFood Multi Restaurant, Food Delivery App with Laravel Admin and Restaurant Panel Buy Full App on $79
Download FlutKit - Flutter UI Kit Most beautiful Flutter UI Kit with 20+ Full App, 450+ Screens. Buy Full Kit on $39
Download Fluxstore Multi Vendor WooCommerce/Dokan Plugin compatible WordPress eCommerce Flutter App. Buy Full App on $79

How to Disable Auto Comment/Closing Labels on VS Code for Dart/Flutter

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.

No any Comments on this Article


Please Wait...