Hi - I love the fact that you can indent your code within EE templates, but the indentation amount is pretty big. Is there any way to reduce this?
This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.
The active forums are here.
November 09, 2011 5:29pm
Subscribe [4]#1 / Nov 09, 2011 5:29pm
Hi - I love the fact that you can indent your code within EE templates, but the indentation amount is pretty big. Is there any way to reduce this?
#2 / Nov 10, 2011 4:37am
Hi heaversmm
I’m not trying to be smart but you could just manually delete it yourself. Some text editors allow you to reformat the source also. They are provided as examples so you are free to do with it as you wish.
Does that help? Was the white space causing you a specific issue?
#3 / Nov 10, 2011 7:00am
Well if I delete the spaces, I am deleting the indentation entirely (it’s tabbed space, not space bar space) - I wasn’t working with a text editor, I’m working within EE. The space just causes an issue because, by about 3 levels deep, your code is almost entirely outside of a normal sized window and you have to scroll to see it. Just a little harder to work with.
#4 / Nov 10, 2011 9:00am
I’ve been wondering this as well, at the moment the tab is 8 characters, would be nicer if it were 4 characters to allow easier scanning of code.
#5 / Nov 11, 2011 6:08pm
I see what you mean, heaversm and bluedreamer. It might be a better experience to have the tab a little less space-intense. Mind posting that over in the Feature Request forum? Or I could just move this thread over there if you like. I think the devs would like to have this kind of feedback, and that’s the best way to get it in front of their eyeballs.
#6 / Nov 11, 2011 6:33pm
Good idea Kevin - added http://ellislab.com/forums/viewthread/204186/
#7 / Nov 15, 2011 3:15pm
Thank you Rob!
heaversm - did you have any remaining questions on this?
#8 / Nov 17, 2011 12:13pm
Nope, thanks
#9 / Nov 17, 2011 12:33pm
Great! Please do let us know if anything else comes up. Thank you.