If the user really wants to take advantage of the tab. Is there a way to continually style the Rails indentation style? It would be great if I could just edit some configuration file to achieve it.
For example, when I use a scaffold, "rails generate a sketch of Articals name: string", the automatically generated code has 4-space indents. So I donβt need to use an editor to convert them manually every time.
I do not ask a programming or syntax question. Rails is not a language. All this relates to settings and settings. Or I can write a program to automatically convert them in the background (not best practice).
If Rails really can't do this, will the team add it in the future?
source
share