java如何根据我的示例配置Intellij idea代码格式
在我的测试中,我有很多错误的代码
public void createEntity(String jsonString) {
response = getBaseRequestWithCurrentCookie()
.given().
body(jsonString).
contentType(ContentType.JSON)
.when().
post()
.then().
log().ifError().
extract().response();
}
但是,如何配置intellij Idea代码样式(针对Java)使其不对齐
public void createEntity(String jsonString) {
response = getBaseRequestWithCurrentCookie()
.given().
body(jsonString).
contentType(ContentType.JSON)
.when().
post()
.then().
log().ifError().
extract().response();
}
# 1 楼答案