I spend some time editing configurations in .htaccess files across several projects in Eclipse. How would I go about telling Eclipse to auto color this file in a similar fashion as shell scripts or HTML?
I found using the "Properties File Editor" seems to give a decent color output. It's actually for Java files, so it comes with a stock Eclipse.
In Preferences, "General" -> "Content Types" -> "Text" -> "Java Properties File" click "Add..." button, enter ".htaccess", click "OK".
You could use the ColorEditor from Gstaff, in order to define your own syntax coloring.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With