【发布时间】:2011-12-04 14:35:15
【问题描述】:
假设我的代码如下所示:
public abstract class
ResourceDownloaderBaseImpl
implements ResourceDownloader {
public Object
getProperty(
String name)
throws ResourceDownloaderException {
....
还有很多其他的。当我在 Intellij IDEA 中按 Ctrl+Alt+L 时,它不会像这样将其格式化为单行:
public abstract class ResourceDownloaderBaseImpl implements ResourceDownloader {
public Object getProperty(String name) throws ResourceDownloaderException {
...
有没有办法调整代码重新格式化功能,以便将签名放在一行上?
【问题讨论】:
标签: java intellij-idea coding-style reformatting