Reputation: 13
When I write code that time automatically hide some java keyword in eclipse but display in .java file from directory.
Eclipse editor screen shot:
.java file screen shot:
Please help me !!
Upvotes: 1
Views: 340
Reputation: 34295
The fact that the complete code can be copied proves that the characters exist but are not displayed.
If in Window > Preferences: Java > Editor > Syntax Coloring deactivating bold for Java > Keywords excluding 'return' make them visible in the Java editor again, only characters in bold are affected. In this case choosing a different font at least for the Java editor might be the solution:
I like Source Code Pro as a font for coding, which has to be installed in the operating system to use it in Eclipse.
Make also sure not using an outdated Java and Eclipse IDE version.
Upvotes: 1