Programming
[intellij] 인텔리제이 주석 설정
nineDeveloper
2020. 4. 23. 11:30
728x90
첫번째 주석 라인 들여쓰기 설정
Editor - Code Style - Java - Wrapping and Braces 의
Comment at first column 을 체크 해지 하면 라인에 맞게 주석이 설정된다
public static void longerMethod() throws Exception1, Exception2, Exception3 {
// todo something
int num;
주석 처리시 문장 가장 첫 부분에 주석 기호 추가 설정
Editor - Code Style - Java - Code Generation 에서
Comment Code 의 Line comment at first column 체크를 해지하고
Add a space at comment start 를 체크하면 된다
위의 설정을 하고 주석 처리를 하면 아래의 //int num
와 같이 문장 바로 앞에 주석 기호가 추가 된다
public static void longerMethod() throws Exception1, Exception2, Exception3 {
// todo something
//int num
728x90