Basically, I want the Eclipse Java formatter to format comments so the /*
or //
is at the beginning of the line, before the first tab.
Does anyone know of any setting that allows this? I notice that Ctrl+/ does do it this way, but using Format undoes it.
I think you're looking for
under Preferences / Java / Code Style / Formatter / Edit... / Comments (in Eclipse Juno SR1.)
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.