No syntax highlighting when concatenating a string since 2017.1

已回答

Since upgrading to 2017.1, I lost PHP syntax highlighting when concatenating with a string. See the attached image

 

Normally $value['first_name'] .' '. $value['last_name'] would have syntax highlighting. 

0

Hi there,

https://youtrack.jetbrains.com/issue/WI-35775 -- It's already resolved for the next update (2017.1.2)

You can find workaround in that ticket:

Open Settings | Editor | Colors and Fonts | PHP | Concatenations and uncheck all (3 ticked) options checkboxes

0

请先登录再写评论。