I'm using Visual Studio Code to develop in PHP. I installed PHP Intelephense Extension for my visual studio code. But name of class do not highlight with any color. The name of class is white color:
I want the color of Role
class the same below image. I have searched google but I don't have any keyword for this.
have you tried PHP IntelliSense by Felix Becker ? I've been using it for almost a year, and got no issues.
--EDIT--
for inteliphense, have you set php.executablePath in VS Code? hit CTRL+Shift+P and type in settings
, then select open user settings
.
in the settings.json
file add "php.executablePath":"[path to your php executable]"
hope this helps
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.