Is there a way to comment out a chunk of highlighted code?
I am programming in ruby, and I hate putting # on lines individually.
To uncomment the selection, simply select the entire block of code (including the block comment characters) and go to the Edit menu and click on Uncomment Selection. As you can see, the block comment characters have been removed.
The complementary icon Uncomment Block removes the comment characters ("--" for VHDL and "//" for Verilog) from all lines in the selected text. Another way of commenting is by using Ctrl+K on your keyboard or Edit | Block | Comment from main menu.
1.Install gedit plugins
sudo apt-get install gedit-plugins
2.Go to Edit->Preference->Plugins-> and enable Code Comment
3.Ctl+m to comment block of codes
4.Ctl+Shift+m to uncomment block of codes
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With