- Open Eclipse
- Follow Window -> Preferences -> Java -> Editor -> Save Actions
- Select 'Format all lines' radio button item
- Check 'Organize imports' check box
- Click on 'Formatter' link
- Click import -> select "spring-eclipse-code-conventions.xml"
微信扫一扫
相关推荐