1

In mac using Text - Mate we can easily auto - indent the characters in the file for Ruby on Rails code in various rb,erb or html.erb files. I am searching for a plugin for GEdit for the same purpose after trying hard I am unable to find any suitable plugin which can work for me. Any clues which plugin I should go for and how to get that ?

4
  • Have you solved this issue?
    – pl1nk
    Jun 24, 2012 at 22:32
  • @pl1nk not as if now....and seems there is no plugin for Gedit. Rails plugin is avaialable for eclipse if you want to try that out Jun 25, 2012 at 4:56
  • Do this question and/or this help?
    – pl1nk
    Jun 25, 2012 at 12:38
  • the plugins specified in second link adds auto-completion and some other good features but not solves the real solution of aligning text in proper indentation like in textmate or other editors Jun 25, 2012 at 16:41

2 Answers 2

2

In the Preferences menu of gedit navigate to theEditor tab, there you can enable automatic indentation (tick the box to activate it).

5
  • which menu u talking about @kosaidpo ?? Dec 10, 2011 at 20:53
  • up there near the File menu ,view ... etc
    – kosaidpo
    Dec 10, 2011 at 21:19
  • it has just file, edit, view, search, tools, documents and help ?? @kosaidpo which one to follow Dec 11, 2011 at 21:39
  • under that entry Edit you ll see a sub-menu named preferences click that then you get an interface there you ll find tabs under the second tab read those options you find what you want good luck ;]
    – kosaidpo
    Dec 11, 2011 at 22:46
  • Yes I have seen that which states smart indentation. I have checked that but that doesn't align the text which i insert later on. If I start writing code it aligns only that. But in case I have already written the code and now I want to Indent it properly how to do that @kosaidpo Dec 12, 2011 at 6:09
0

http://www.sublimetext.com/2 seems the best editor to me available for all Operating Systems

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .