Auto-Indent Lines
Hello,
I am using IDEA 9. MacOSX
When I use the menu item Code->Auto-Indent Lines, it doesn't seem to be using the Preference setting under Code Style General. This seems silly so I am assuming that there is a way to get Auto-Indent to pay attention to my preferences.
Can any one straighten me out?
Thanks
Todd
请先登录再写评论。
Hi Todd,
I just checked 'auto-indent lines' action with IDEA 9.0.2 and it works fine for me.
Example:
Initial:
Select f() method body and invoke 'Auto-Indent Lines'
Result:
Please provide more details about your use-case.
Regards, Denis
Your right it does work.
I had not set the indent for the Specific file type I was working with.
Sorry for the confusion
Thanks
Todd
Welcome :)
One more indentation-related IDEA feature just in case you don't have information about it - you can select particular lines of code and move them to the right/left via pressing 'Tab'/'Shift+Tab'.
Regards, Denis