john.weland
john.weland

Reputation: 266

.php files not being associated in VS Code

So I'm not sure what happened but within the last few weeks any '.php' file in my workspaces are being associated with "Plain Text", and if you click the lower right-hand corner to pick a language identifier 'PHP' is not listed anywhere.

I swear I used to have proper associations and my PHP syntax was getting highlighted. Has anyone else experienced this? Thus far my Google-fu has come up empty-handed.

version 1.21.1

-- UPDATE Notice that the file association in the lower right-hand corner is "plain text" and if you look at the language list (top center) PHP isn't even listed.

enter image description here

Upvotes: 1

Views: 1084

Answers (1)

alefragnani
alefragnani

Reputation: 3243

There is a built-in PHP extension in VS Code.

It must be disabled/uninstalled somehow, and that's why you don't see it available to select.

Upvotes: 1

Related Questions