Remove automated closing bracket comments in IntelliJ IDEA

前端 未结 2 2001
醉酒成梦
醉酒成梦 2021-02-05 10:55

I\'m seeing following happen when working in intelliJ IDEA with Dart based project

All comments there i.e // AppBar are auto generated, I assume fo

相关标签:
2条回答
  • 2021-02-05 11:07

    And in the vs code editor, change this setting to false

    "dart.closingLabels": true
    

    You can find this setting easily. Go setting and search(Ctrl+f) dart.closingLabels

    Update 24.11.2019:

    If you want to customize the closing label color, you can do this. In vscode, open your settings.json file and set this setting

    "workbench.colorCustomizations": {
        "dart.closingLabels": "#FF5733"
     },
    
    0 讨论(0)
  • 2021-02-05 11:19

    The checkbox is in Settings (Preferences) | Editor | General | Appearance, toggle 'Show closing labels in Dart source code'.

    0 讨论(0)
提交回复
热议问题