Should I able to do this? For example if I import an .edf file with say the Zenburn theme colours, it doesn’t seem to work properly.
Haven’t tested with Servoy 6 but fast and easy in Servoy 5.2.9 with the Eclipse Color Theme Plugin. Follow the installation and usage instructions for Eclipse 3.5.
[attachment=0]Picture 19.png[/attachment]
yuk, unreadable js/text editors!
You definitely need some sunglasses to read those strings in that code… ouch
Well, here’s what Zenburn should look like:
… and here’s what it ends up looking like for me:
So - bears no resemblance really. This is on Servoy 6 but it was the same in Servoy 5.
Okay - I finally got really fed up with the default Javascript theme in Servoy Developer, and there doesn’t appear to be a solution out there that will allow the use of predefined JS themes that works. So I sat down and created a Zenburn-like theme that works in Servoy Developer.
This is almost all colour changes - there are a couple of other small things, like making the highlight that shows all uses of a variable when you click on the variable name into a dotted outline instead of an inverse background.
I have tried to isolate just the needed settings into a .EPF file that can be imported, however it doesn’t seem to work, and there doesn’t seem to be a way to export just the JS colour settings using Eclipse’s insanely overcomplicated prefs and themes system.
So I attach an .EPF of my complete preferences if anyone wants to use this or play with it. You will need to rename .TXT to .EPF, tested on Windows only.
The font used is Monaco, which Mac folks will have, there is a free Windows TTF version, Linux guys - I’m sure there are any number of alternatives !
DISCLAIMER: BACK UP YOUR OWN PREFS TO .EPF BEFORE IMPORTING THIS ONE!
servoy niceprefs.txt (23.9 KB)
Oh man, please tell me how you can changed the font color of your variables/function names…I’ve been looking for that setting forever!
preferences->javascript->editor->syntax coloring
and then the names of variables or functions falls under the “other” (but more things are touched by that)
Hrm, I don’t seem to have an “other” option…Servoy 6 feature?