0
有什麼辦法讓AppCode縮進鏈式呼叫?例如,它目前格式化;AppCode鏈接的縮進?
Test.writeString("test", value: "Test")
.then {
print("1")
}
.always {
print("1")
}
我希望它的格式爲;
Test.writeString("test", value: "Test")
.then {
print("1")
}
.always {
print("1")
}
不幸的是,我沒有一個mac來安裝Appcode並驗證它,[文檔不提供太多信息](https://www.jetbrains.com/help/objc/2016.1/configuring-code-style .html?search = wrapping),但我希望它在'Wrapping and braces'下的'Editor' - >'Code style'部分有類似於Idea的東西。看看[這個回覆](http://stackoverflow.com/questions/38595138/wrapping-chained-method-calls-on-a-separate-line-in-intellij-for-java/38596350#38596350)for一個類似的java相關問題,讓我們知道你找到了什麼。 – Morfic