有没有办法自定义延续缩进的格式,但只能用于注释?
例如,IntelliJ(Android Studio)处理多行注释,如下所示:
@Module(
injects = {
BaseApplication.class,
MyApplication.class,
TestMyApplication.class
},
includes = { DomainModule.class }
)
public class AppModule {
//...
}
我希望它是这样的(只有4个空格用于连续缩进...但仅用于注释)。
@Module(
injects = {
BaseApplication.class,
MyApplication.class,
TestMyApplication.class
},
includes = { DomainModule.class }
)
public class AppModule {
//...
}
这可能吗?