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 num728x90
    
    
  'Programming' 카테고리의 다른 글
| [Markdown] 특수문자 표시 (0) | 2020.06.20 | 
|---|---|
| [intellij 플러그인] SerialVersionUID 생성 가이드 (0) | 2020.06.20 | 
| IP 주소 형식 체크 정규식 (0) | 2020.03.27 | 
| 프로그래밍 표기법 Camel, Snake, Kebab, Pascal (0) | 2020.03.19 | 
| 이스케이프 시퀀스 \n \r \t \a \b (0) | 2020.03.19 | 
 
			
			 
				
			
댓글