How do I remove all the the comments in this file at once ?
I don’t wanna go line by line and erase all the comments or select an area + backspace multiple times.
Is there any shortcut?
code with comments
How do I remove all the the comments in this file at once ?
I don’t wanna go line by line and erase all the comments or select an area + backspace multiple times.
Is there any shortcut?
code with comments
3
Answers
You do not have to remove the comments if you did not create them in the first place. You can create a new Flutter project without comments following these steps:
Command Palette
in VS CodeFlutter: New Project
Flutter Application (empty)
or simple use the command
flutter create my_app -e
. For details, you can refer to theflutter create --help
command.Here’s a similar questions with a detailed accepted answer: VSCode: delete all comments in a file
the extension Remove Comments supports Dart