How to save dart file in file system with android studio generated comments?

343

These comments are generated "on the fly" by the Flutter plugin for Android Studio. At no time, these comments are inserted into your source files. They are just shown within the IDE. So I think there is no way to "export" these comments.

Share:
343
Admin
Author by

Admin

Updated on December 14, 2022

Comments

  • Admin
    Admin over 1 year

    I like how Android Studio and Visual Studio , generate the comments for each closing brackets, but when I open the same file in notepad++ or any other text editor, I don't see those comments. Is there a way to generate the saved dart file so it has those comments stored as part of the text code( in comment) ?

    Here is one code example that how code looks in android studio.

    How It Looks in Android Studio

    but when opened with notepad it does not have the comment MaterialApp. I am guessing there is some settings in android studio that will let me save file with generated comments, so it can be useful outside of Android studio like in git etc.

    Actual File contents

  • Admin
    Admin over 4 years
    what is the name of this plugin and does it have a git repo
  • Tidder
    Tidder over 4 years
    You can find the source code here: github.com/flutter/flutter-intellij