views:

175

answers:

1

Is there any way to to setup Rails generating files with tabs instead spaces?

Or maybe is there any way to auto replacing spaces to tabs in gedit?

Cause I really prefered tabs and it's really take some time to replace spaces to tabs in new generated files by Rails.

Thanks in advance!

A: 

To do this in gedit, try the Tab Converter plugin.

(Don't think there's a way to do it directly in Rails.)

fig
great, exactly what I've needed, but unfortunetly it doesn't work in my gedit...tryed to disable other plugins, but no good.but anyway thanks!
Sergei
@Sergei, yeah just noticed that page was last updated in 2006. :) Try their mail list or irc channel, I'm sure other users want to convert between spaces and tabs.
fig