최신 버전의 이클립스나 sts를 이용하다 보면 블록 주석 시 자동으로 정렬을 해버리는 경우가 있는데 검색해보니 2018-12, 2019-03 버전에서 블록 주석 코드 형식이 설정돼있다. 해제하자 블록 주석 시 포맷팅 적용하지않음 설정 Window - Preference - Java - Code Style - Formatter - New(새로운 프로필 생성) - Edit - Comments Enable block comment formatting 체크 해제 /* * public static void main(String[] args) { * SpringApplication.run(TestApplication.class, args); } * * try { } catch (Exception e) { // TO..