Jerome,
 Thsi list is the right place. As far as I know, setting our code formatter
to use tabs should work for most cases (in some of the templates and
completions we probably assume spaces). If you set it on a file that has
indents using spaces, RDT will try to do it's best to mix/match spaces and
tabs to reach the correct indent levels. If you consistently use tabs, it
should just use tabs.

But, there definitely could be bugs, and I'd encourage anyone to send along
source files and bug reports.

On a last note (and I know this doesn't actually help), the ruby standard is
2 space indents so we tend to follow that. I'm sure we've lapsed in spots in
the code where we manipulate indents to assume that without consulting the
preferences.

Thanks,
Chris

On 3/27/07, Jerome Etienne <[EMAIL PROTECTED]> wrote:

Hello,

Im trying to get eclipse to use an actual tab character when i press
tab while editing ruby source. My current best result is to ident
with 8 characters, instead of a single tab characher... Here is what i
already tried:
I modified the "window -> preferences -> ruby -> formater" to create
my own profile. In this profile i changed the "indentation -> Tab
policy" to "Tabs only". and the formater example in the preference
window shows an indentation with an actual 8space.

                 Thanks

ps: im aware this is a development list but i failed to find a -users list
or similar. If there is a more suitable place to ask this kind of
information, just tellme.

ps2: for the context i run eclipse3.2 + radrails plugin. All the editing
of css,
javascript, rhtml and yml, which are part of radrails according to my
understanding have all be configured
to use actual tab. for ruby im a bit at a lot.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Rubyeclipse-development mailing list
Rubyeclipse-development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rubyeclipse-development




--
http://cwilliams.textdriven.com
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Rubyeclipse-development mailing list
Rubyeclipse-development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rubyeclipse-development

Reply via email to