Search code examples
ruby-on-railsruby-on-rails-3gedit

Block commenting in Gedit?


Is there a way to comment out a chunk of highlighted code?

I am programming in ruby, and I hate putting # on lines individually.


Solution

  • 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