Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PyCharm - Is community edition able to highlight php?

i want to make pyCharm CE able to highlight php syntax. Here PyCharm - Is community edition able to highlight css/javascript? is a solution for css, it worked. Have anyone such xml for php-syntax? Thanks.

like image 449
Lea Alter Avatar asked Jan 03 '23 03:01

Lea Alter


1 Answers

Actually PHP syntax highlighting is just hidden - by the devs I assume ;)

File > Settings > Editor > File Types

Above in Recognized File Types select PHP (syntax Highlighting Only) Below in Registered Patterns press +, then enter *.php

In the dialog asking about the already registered wildcard, press Reassign Wildcard

like image 166
Karol Haltenberger Avatar answered Jan 06 '23 02:01

Karol Haltenberger