How to use code highlight in .inc files in VS code as PHP?

.inc is used in various languages. In my case, I use .inc extension in PHP files.

By Default, my vs code editor is not highligthing any code within .inc extension files.

To enable, the highlight option I have done the following steps.

Text Editor Settings

  1. Go to File > Preferences > Settings > Text Editor > Files > Add Item
  2. Add entry *.inc > php
  3. Save

My current VS Code version is 1.74.1

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s