-
Open Eclipse. Find window---->perferences
-
turn up. java---->code style-->formatter
-
Then find the upper right corner and click edit.
-
In braces, modify all nextlines. Tick the last
-
Finally, remember to modify the name of a configuration, call it like vs2010.
Then click OK
-
After that, remember to choose this profile like vs2010
-
Finally into the project. Press CTRL+shift+f again to see the result.
eclipse set code formatting style
Guess you like
Origin http://43.154.161.224:23101/article/api/json?id=326277745&siteId=291194637
Recommended
Ranking