I have Eclipse SDK Version: 3.5.2 with EPIC 0.5.46 installed on Ubuntu Linux. I was writing some Perl code which I could run/debug correctly. The syntax was always highlighted. recently I had to add one *.pl file to my project and debug it. However, for some reason, the code is not being highlighted. What might be the reason for this behavior? My guess was that maybe there is some issue with Eclipse/EPIC adding/importing new files to the existing project but I’m not sure. Please consider even basic mistakes with Eclipse/EPIC configuration and projects management since I’m new to it. Thanks!
Share
It seems that I found the problem which was preventing my Perl code from being highlighted. I’ve noticed that in the first lines of my
.plfile, there is a commented line which include a weird?symbol as appears on the screenshot below:The moment I removed this symbol, all the code became highlighted! So it seems that there was some issue with text encoding which prevented Eclipse ho highlight the coded correctly.