Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I change Eclipse color scheme for a specific file extension?

I've installed Eclipse Debugger Plugin for v8.
When a Javascript file is brought up from the remote connection, it has a .chromium extension.

enter image description here

Acutal color scheme for *.chromium files is not ideal but I haven't been able to figure out how to change it.

I went into Window > Preferences > General > Editors > File Associations and changed *.chromium file association from "JS Editor" to "JavaScript Editor" (used for .js files edition, and having the color scheme I want.)

enter image description here

However making this change had no effect.

I have the "Eclipse Color Theme" add-on installed and am using Eclipse version 4.2.1.M20120914-1800 running on windows 7.

like image 741
opike Avatar asked Apr 21 '13 20:04

opike


1 Answers

Once I right clicked on one of the .chromium files and selected "Open With->JavaScript Editor" that file came up with the same editor as the js files. Doing this once must have fixed something in eclipse because now subsequently all .chromium files open up with the other editor.

like image 180
opike Avatar answered Oct 11 '22 12:10

opike