简体   繁体   中英

PHP Intelelephense in Visual Studio Code

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:

我的Visual Studio代码

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM