Block commenting in Gedit?

前端 未结 8 1144
一生所求
一生所求 2020-12-23 09:18

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

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

相关标签:
8条回答
  • 2020-12-23 09:55

    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

    0 讨论(0)
  • 2020-12-23 09:56
    =begin
    
    Code to be commented out
    
    =end
    
    0 讨论(0)
提交回复
热议问题