Reputation: 51
I recently downloaded Eclipse Mars.2. The project I'm working on involves jsf files (I'm specifically focusing on files with the .jsff extension, as normal jsf files seem fine). While they seem to run correctly, they have no syntax color and act/look-like normal text from a .txt file when viewed. All of my other file types have the normal coloring scheme that comes with Eclipse. I have tried to change the syntax coloring through the Windows > Preferences option, but I didn't find anything involving jsf/jsff files. I don't have much experience working with these kinds of files, but I was told it should be possible to get color syntax into my jsff files. Am I looking in the wrong place, am I misunderstanding something, or is this a configuration issue?
Upvotes: 0
Views: 55
Reputation: 23361
In Eclipse go to Windows -> preferences -> general -> file associations
. on the right side look for the extension *.jsf, click on it, see what is associated to it on below window, then create a new one *.jsff and add the same thing you have on the *.jsf it should work.
As you added on the comments you had to do the same process for the JSP under content types. Adding it here so it may help others.
Upvotes: 0