关于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;
}
组对齐全部勾选。事实上,我甚至试过勾选每个对齐选项,但无济于事。我喜欢这个工作。 为了所有圣洁的爱,请帮助我。