A simple Phoenix Code extension that removes all comments from your code with just one click. It works with any programming language that Phoenix Code supports. Tested with - JavaScript, HTML, CSS.
To remove comments from the file: Click on Edit menu > Remove Comments. NOTE: This will remove all the comments from the file.
If you want to remove comments from a specific part of file. Just select that part and then click on Remove Comments. That will remove only those comments that come inside the selection.
Don't worry if you remove comments by mistake! You can undo the operation with Ctrl+Z (or Cmd+Z on Mac), and all your comments will come back in one go.
- Open Phoenix Code
- Go to File > Extension Manager
- Search for "Remove Comments"
- Click Install
This extension is under MIT license. Feel free to update the code.