25 Jul 2013, 02:48
Generic-user-small

Ariel Kadouri (1 post)

Is there a hotkey or method to auto-format the spacing between numbers in Eclipse? I can’t seem to get the numbers to stay in nice rows like the source code has it.

Ex.

 // Triangle Fan
	               0f,    0f,   1f,   1f,   1f,         
	            -0.5f, -0.5f, 0.7f, 0.7f, 0.7f,            
	             0.5f, -0.5f, 0.7f, 0.7f, 0.7f,
	             0.5f,  0.5f, 0.7f, 0.7f, 0.7f,
	            -0.5f,  0.5f, 0.7f, 0.7f, 0.7f,
	            -0.5f, -0.5f, 0.7f, 0.7f, 0.7f,"


25 Jul 2013, 13:06
Generic-user-small

Kevin Brothaler (27 posts)

Hi Ariel,

I just do it manually and then I’m careful not to use auto-formatting with that part of the code selected. ;)

  You must be logged in to comment