오랜만에 java공부를 위해 이클립스 (루나 ver)을 설치했는데


원인을 모르겠지만 sysout을 쓴 후 컨트롤 + 스페이스 를 누르면 

System.out.println();

이렇게 변환되던 기능이 되지 않아 찾아보았다.


  1. Go to Windows->Preferences->Java->Editor->Templates
  2. Select sysout template and edit it.
  3. Change the context from Java statement to Java.
이런 검색결과가 있어 해보니 잘 되었다.

해석하자면 

Windows->Preferences->Java->Editor->Templates 에 들어가서

sysout 항목을 edit 누른 후

context 항목을 Java statement 에서 Java로 바꾸어 주면 

잘된다는 뜻이다.


왜 변환이 안되었던 것인지는 자세히 더 알아봐야 할 것 같다.


+ Recent posts