Search code examples
javaintellij-ideacomments

Intellij IDEA Auto-Comments after each code block ( "}" character)


void main(){
  runApp(MaterialApp(
    home: Scaffold(

    ), //Scaffold
  )); //MaterialApp
}

I didn't add comments, IDE did and I don't want to. How can I turn it off?


Solution

  • Settings -> Editor -> General -> Appearance, check box 'Show closing labels'.

    Restart IDEA