我的测试中有丰富的代码
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();
}