728x90
VS Code 에서 리액트 편집할 때 쓰던 다중 커서 alt+shift 방향키 (맞나 갑자기 헷갈리네) 는
인텔리제이에선 줄 옮기기로 작동한다.
그럼 어떻게 인텔리제이에서 다중커서를 쓸 수 있을까?
package com.hanium.hfrecruit.dto;
import com.hanium.hfrecruit.domain.spec.PersonalSpec;
import com.hanium.hfrecruit.domain.spec.Spec;
import com.hanium.hfrecruit.domain.user.User;
public class PersonalSpecDto {
private Long personalSpecId;
private String certifiedDate;
private String authDate;
private String score;
private User user;
private Spec spec;
public PersonalSpecDto(PersonalSpec entity) {
this.personalSpecId = personalSpecId;
this.certifiedDate = certifiedDate;
this.authDate = authDate;
this.score = score;
this.user = user;
this.spec = spec;
}
}
이 생성자에서 각 항목들을 entity.getXXX() 로 바꿔야 한다. 하나하나하면 금방 싫증이 날 것이다..
Alt + Shift + 추가하려는 곳에 마우스 좌클릭 을 하면 다중커서가 생긴다.
깔-끔
'프로그래밍 > 기억노트' 카테고리의 다른 글
[python] 이진 탐색 알고리즘 (0) | 2020.09.11 |
---|---|
[python] list 여러 조건으로 정렬하기 (sort by multiple field,attribute) (0) | 2020.09.11 |
[python] 진행 방향 시계,반시계 방향 꺾기 돌리기 (0) | 2020.09.01 |
[python] 2차원 리스트 90도 돌리기 (0) | 2020.08.31 |
[python] 주어진 수가 소수인지 판별하기 (0) | 2020.08.26 |