Install Asset
Install via Godot
To maintain one source of truth, Godot Asset Library is just a mirror of the old asset library so you can download directly on Godot via the integrated asset library browser
Quick Information
A simple and lightweight Godot 4 plugin to quickly remove all comments and clean up empty lines from your selected code in the Script Editor.Features:- One-Click Clean Up: Adds a "Hapus Komentar" button to the Godot Editor Toolbar.- Shortcut Support: Simply select your code and press Ctrl + Shift + K.- Smart Formatting: Automatically removes empty lines left behind by deleted comments, keeping your code tight and clean.- Safe: Ignores '#' symbols inside strings.
Godot Remove Comments Plugin
A simple and lightweight Godot 4 plugin to quickly remove all comments and clean up empty lines from your selected code.
Features
- One-Click Clean Up: Adds a "Hapus Komentar" button to the Godot Editor Toolbar.
- Shortcut Support: Simply select your code and press
Ctrl + Shift + K. - Smart Formatting: Automatically removes empty lines left behind by deleted comments, keeping your code tight and clean.
- Safe: Ignores
#symbols inside strings.
Installation
- Download this repository or install via Godot Asset Library.
- Extract the
addons/remove_commentsfolder into your project'saddons/directory. - Go to Project > Project Settings > Plugins.
- Check the Enable box next to "Remove Comments".
Usage
- Open any script in the Godot Script Editor.
- Select (highlight) the lines of code containing the comments you want to remove.
- Click the "Hapus Komentar" button on the top right toolbar, or press
Ctrl + Shift + K.
A simple and lightweight Godot 4 plugin to quickly remove all comments and clean up empty lines from your selected code in the Script Editor.
Features:
- One-Click Clean Up: Adds a "Hapus Komentar" button to the Godot Editor Toolbar.
- Shortcut Support: Simply select your code and press Ctrl + Shift + K.
- Smart Formatting: Automatically removes empty lines left behind by deleted comments, keeping your code tight and clean.
- Safe: Ignores '#' symbols inside strings.
Reviews
Quick Information
A simple and lightweight Godot 4 plugin to quickly remove all comments and clean up empty lines from your selected code in the Script Editor.Features:- One-Click Clean Up: Adds a "Hapus Komentar" button to the Godot Editor Toolbar.- Shortcut Support: Simply select your code and press Ctrl + Shift + K.- Smart Formatting: Automatically removes empty lines left behind by deleted comments, keeping your code tight and clean.- Safe: Ignores '#' symbols inside strings.