[Java]코드 조각 수정하기

수경·2023년 8월 3일
0

이클립스 - Window - Preperence

검색창에 template 검색
Java > Editor > Templates
오른쪽 templates Name에서 try_catch 찾아 아래와 같이 수정

try {
	${line_selection}${cursor}
} catch (${Exception} ${exception_variable_name}) {
	System.out.println("at ${primary_type_name}.${enclosing_method}");
   e.printStackTrace();
}

결과

profile
웹백엔드개발자를 꿈꾸는

1개의 댓글

comment-user-thumbnail
2023년 8월 3일

정리가 잘 된 글이네요. 도움이 됐습니다.

답글 달기