[ Programing ]/[ Setting ]

[Eclipse] JS 파일 에디터 설정 (js 파일 색상이 흑백으로 나올 때 해결법)

Sophia_ 2022. 11. 21. 17:06

Windows - Preferences - General - Editors - File Associations -> *.js 에서

default 값을 'Generic Text Editor' 로 변경해도 흑백 문제가 해결되지 않을 때

Programming Languages 소프트웨어를 install 하여 문제를 해결 할 수 있다.

 

1.

 Help - Install New Software -  http://download.eclipse.org/releases/photon

 

Eclipse software repository | The Eclipse Foundation

The Eclipse Foundation - home to a global community, the Eclipse IDE, Jakarta EE and over 360 open source projects, including runtimes, tools and frameworks.

download.eclipse.org

- Programming Languages 하위 JavaScript Development Tools 만 체크 후

소프트웨어를 다운 받는다.

 

2.

General -> Content Type -> Text 선택 -> 화면 하단 Default Encoding에 UTF-8 입력 후 update 

Text 하위에 JSP도 똑같이 UTF-8로 update

 

3.

Windows - Preferences - General - Editors - File Associations -> *.js 

다운받은 소프트웨어 JavaScript Editor 를 default 값으로 설정한다.