【发布时间】:2016-05-16 17:34:20
【问题描述】:
关于 IntelliJ Ultimate 对齐的快速问题。
这些对齐有效:
exsistingSchedule = new ArrayList<>();
while ((datastring = in.readLine()) != null) {
String data[] = datastring.split(";");
for (String sp : data) {
String regex = "%split%";
String[] timeBlock = sp.split(regex);
String pattern = "dd-MM-yyyy HH:mm";
LocalDateTime startTime = LocalDateTime.parse(timeBlock[0], DateTimeFormat.forPattern(pattern));
LocalDateTime endTime = LocalDateTime.parse(timeBlock[1], DateTimeFormat.forPattern(pattern));
String description = timeBlock[2];
int type = Integer.parseInt(timeBlock[7]);
int splitFactor = 45;
exsistingSchedule.add(
new Timeblock(startTime, endTime, description, null, null, null, null, null, null, null, null, type,
splitFactor));
}
这不是对齐,它让我发疯。
public Subject(String title, String description, int ectspoints, String classID) {
this.title = title;
this.description = description;
this.ectspoints = ectspoints;
this.classID = classID;
}
组对齐都打勾。事实上,我什至尝试勾选每个对齐选项,但无济于事。我很想这样做。 为了所有神圣的爱,请帮助我。
【问题讨论】:
标签: java intellij-idea intellij-13