Coloring variables with VS2010 PHP Tools
12 posts
• Page 1 of 2 • 1, 2
Coloring variables with VS2010 PHP Tools
Hello!
Is there any way to enable that $ variables would be displayed in another color? Because i use a custom theme color for the editor and the blue color is not very readable?
Thanks in advance.
Is there any way to enable that $ variables would be displayed in another color? Because i use a custom theme color for the editor and the blue color is not very readable?
Thanks in advance.
- legarsjules
- Posts: 4
- Joined: March 26th, 2012, 6:46 pm
Re: Coloring variables with VS2010 PHP Tools
Hi!
thank you for trying PHP Tools. I agree, the extension should respect custom user settings, so user can change any color he wants. I'll take a look so hopefully it could be done in the next update.
thank you for trying PHP Tools. I agree, the extension should respect custom user settings, so user can change any color he wants. I'll take a look so hopefully it could be done in the next update.
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbeno │ miloslav@devsense.com
-
Miloslav Beno - Posts: 1252
- Joined: January 7th, 2012, 8:36 pm
Re: Coloring variables with VS2010 PHP Tools
Great!
And when did you plan to release a new version ?
And when did you plan to release a new version ?
- legarsjules
- Posts: 4
- Joined: March 26th, 2012, 6:46 pm
Re: Coloring variables with VS2010 PHP Tools
We want to have it released in few days. The only thing which is left is this issue - custom color for PHP variable. It could have default color, but we'd prefer to be customizable by user.
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbeno │ miloslav@devsense.com
-
Miloslav Beno - Posts: 1252
- Joined: January 7th, 2012, 8:36 pm
Re: Coloring variables with VS2010 PHP Tools
I've found out that our extension should present its custom coloring implicitly (in version you have installed) in Options>Fonts and colors>Display Items. There should be PHP - Variable item, but there is a bug in Visual Studio that doesn't refresh these options when new custom display items are added.
There is quick workaround so you don't have to wait for new version:
- Run regedit.exe
- go to HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\10.0\FontAndColors\Cache\
- delete {A27B4E24-A735-4D1D-B8E7-9716E1E3D8E0}
This will force Visual Studio update its cache and then you should be able to just change a color of PHP - Variable.
In new version we'll just refresh the Fonts and Colors ourselfs.
Cheers!
There is quick workaround so you don't have to wait for new version:
- Run regedit.exe
- go to HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\10.0\FontAndColors\Cache\
- delete {A27B4E24-A735-4D1D-B8E7-9716E1E3D8E0}
This will force Visual Studio update its cache and then you should be able to just change a color of PHP - Variable.
In new version we'll just refresh the Fonts and Colors ourselfs.
Cheers!
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbeno │ miloslav@devsense.com
-
Miloslav Beno - Posts: 1252
- Joined: January 7th, 2012, 8:36 pm
Re: Coloring variables with VS2010 PHP Tools
The new release is out! Hope you'll like it:)
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbeno │ miloslav@devsense.com
-
Miloslav Beno - Posts: 1252
- Joined: January 7th, 2012, 8:36 pm
Re: Coloring variables with VS2010 PHP Tools
Hi,
Thanks for the release but i still have a little issue with coloring variable.
I can't change the black words...
Do you know why ?
Thanks for the release but i still have a little issue with coloring variable.
I can't change the black words...
Do you know why ?
- legarsjules
- Posts: 4
- Joined: March 26th, 2012, 6:46 pm
Re: Coloring variables with VS2010 PHP Tools
This color should be possible to override by changing "Identifier" Item foreground (in Options -> Fonts and Colors).
Does it work for you?
Does it work for you?
Jakub Misek │ DEVSENSE s.r.o. | @misekjakub │ jakub@devsense.com │
-
Jakub Misek - Posts: 2092
- Joined: January 4th, 2012, 2:42 pm
- Location: Prague
Re: Coloring variables with VS2010 PHP Tools
it worked, thanks a lot!
- legarsjules
- Posts: 4
- Joined: March 26th, 2012, 6:46 pm
Re: Coloring variables with VS2010 PHP Tools
@Miloslav,
I'm using the version with VS2012RC, and I do not see an option for "PHP - Variable" as you mentioned previously. I deleted the registry key you mentioned, but no change. Restarted VS, still no option.
Any suggestions?
I'm using the version with VS2012RC, and I do not see an option for "PHP - Variable" as you mentioned previously. I deleted the registry key you mentioned, but no change. Restarted VS, still no option.
Any suggestions?
- zaus
- Posts: 1
- Joined: June 6th, 2012, 3:36 pm
12 posts
• Page 1 of 2 • 1, 2
Who is online
Users browsing this forum: No registered users and 44 guests