Formatting strings in Eclipse after entering a semicolon?

VS has a great feature — as soon as I put the semicolon, will formatteda the current row(align padding)

How would this plug in in Eclipse?
October 8th 19 at 01:48
2 answers
October 8th 19 at 01:50
The following keys are used for automatic code formatting of the current line or the selected fragment:
  • Ctrl + Shift + F
  • Ctrl + I

How to set auto-formatting, I don't know, I guess nothing. Maybe in the collector configuration project, you can find anything?
October 8th 19 at 01:52
you can customize the formatting on save:
Preferences -> Java -> Editor -> Save Actions
Perform the selected actions on save:
Format Source code:
— Format all lines
— Format edited lines
almost Yes, thank you. - korey.Keeling commented on October 8th 19 at 01:55

Find more questions by tags EclipseJava