Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have watched some video tutorials for rails and spotted gedit as very good editor for ruby on rails development.

I installed gmate and some plugins for programming (autocomplete and intelligent text completion) but I still cannot achieve what this guy has on video at 5.18 http://www.youtube.com/watch?v=g3SuV-A9bak

When he types def index, it automatically adds code for whole method stub.

Does anyone knows which plugin is this?

If you know any other plugins that can provide more comfortable rails programming, they are welcome.

share|improve this question
1  
mmmh i don't know about gedit but sublime text 2 is good for ruby/rails –  Akmur Jun 10 '12 at 17:52
    
I have just installed it, it is cool but still does not support this "snippeting". thanks –  eomeroff Jun 10 '12 at 18:30
add comment

1 Answer

Select Code Snippets in Plugin. Simple.Aptana code completion I just wrote def and immediate tab. def(tab) and it gave me options.

share|improve this answer
1  
You can use Aptana, Since I too do use it. Everything most often comes preconfigured in Aptana. Just you need to have RVM RoR installed, than install JAva and APatana, Simple . Only issue is that Aptana is slow in Windows,but ok with Ubuntu because of JAva. but Gedit is pretty fast IDE and best. And I heard that Gedit 3 got issue with Gmate. May be new version of that is coming up. So till than you cant try this solution. And if possible Aptana if you want to try –  Rohit Jun 10 '12 at 18:06
    
Thanks, I think I am going to use Aptana for now :) –  eomeroff Jun 10 '12 at 18:30
    
@SonOfOmer Sure, And in Gedit as you require you have to got for View>Highlight Mode> Scripting and select RubyonRails to get that working in your gedit, if you wanted to test it worked –  Rohit Jun 10 '12 at 18:44
    
I have just installed Aptana 3 on Ubuntu, and it is missing the feature that I have described in question, while in the same time Aptana 3 on windows has it. –  eomeroff Jun 11 '12 at 2:04
    
@SonOfOmer. Aptana got all those fully needed plugin for any Web development required. I have to just def and tab immediate. Try it –  Rohit Jun 11 '12 at 5:23
show 4 more comments

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.