I need to remove all the comments in the starter app main.dart and other files.
Is there any shortcut commands for the same, in both VS Code and Android Studio?
I need to remove all the comments in the starter app main.dart and other files.
Is there any shortcut commands for the same, in both VS Code and Android Studio?
2
Answers
We may remove all the comments together at once using Regular Expression. Please note rejex mode should be enabled by clicking on .*
For Android Studio:
For VS Code:
You can try the extension Remove Comments it supports a lot of languages.
It ignores the text inside strings.