Posted June 22nd, 2010 by Jazz914
Hello,
Is there anyway to customise the PHP Syntax Highlighting to personal preferences? I don't really like the one it currently has and couldn't find any options in the menus and the php.ini syntax highlighting options were commented out..
juanc says:
Go to tools->options->text editor->font & colors
Look for the PHP entries in it.
Jazz914 says:
Thanks for the quick reply, How could I go about changing the text in the "Sample" Box?
And would this site (http://studiostyles.info/) Work with this?
-----------------
Edit: You don't make it easy finding the ones which belong to PHP.. Couldn't you do an update where all the PHP related highlighters are labled "PHP: XXXX" ?
Jazz914 says:
Actually I just had a look through the entire list, and only one item seemed to be bolded, whereas my variables seem to be bolded... why doesn't unchecking the only bolded option in the list make any change to my code?
JohnF says:
I'm also trying to set thesyntax highlighting. With a black background some of the code ends up invisible. I went into "tools".."Options".."Fonts and Colors" but I don't see anything relating to PHP. Does something else have to be turned on first to get that option?
Jazz914 says:
Hello, my problem was it wasn't installed when I first installed vsphp so what I did was just reinstall it and I got the options for PHP
juanc says:
Reregistering VS.Php also can fix that problem. There is a shortcut in the program start menu.