PHP code is grey
3 posts
• Page 1 of 1
PHP code is grey
If I open a PHP file, it stays gray as it has always been. Do I have to include the PHP file in a solution in order to be able to work on it using your extension?
Copied from email discussion.
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbeno │ miloslav@devsense.com
-
Miloslav Beno - Posts: 1252
- Joined: January 7th, 2012, 8:36 pm
Re: PHP code is grey
This is typically caused by an old settings in Visual Studio, where .php files were probably assigned with an other editor in Visual Studio.
In VS, please try to File -> Open -> File, choose some .php file, and click Open With. A dialog should be opened, where you have to select PHP Editor and “Set as Default”.
This is common issue. I hope this will help.
In VS, please try to File -> Open -> File, choose some .php file, and click Open With. A dialog should be opened, where you have to select PHP Editor and “Set as Default”.
This is common issue. I hope this will help.
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbeno │ miloslav@devsense.com
-
Miloslav Beno - Posts: 1252
- Joined: January 7th, 2012, 8:36 pm
Re: PHP code is grey
Thank you very much for your help. The first time, I opened the PHP file by dragging and dropping it on top of Visual Studio; now that I have gone through your steps, it works fine every time I open a PHP file.
copied from email discussion
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbeno │ miloslav@devsense.com
-
Miloslav Beno - Posts: 1252
- Joined: January 7th, 2012, 8:36 pm
3 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 64 guests