View *.diff files with syntax colours

I create a diff file with git diff.

Then I'd like to view it in PHPStorm but I don't see any syntax colours, even though *.diff files are associated to diff/patch.

Even if I create a patch as described https://www.jetbrains.com/help/phpstorm/2016.1/creating-patches.html?origin=old_help

And I open the patch file I don't see any colours.

What am I missing?

1
1 comment
Avatar
Permanently deleted user
Official comment

Hello,

Unfortunately, there is currently no support for syntax highlighting in diff/patch files. We already have a related request submitted to our tracker here: <https://youtrack.jetbrains.com/issue/IDEA-74005>. Please vote for it in order to move it up in the queue and receive notifications regarding the progress of the feature. See more information on working with tracker at <https://intellij-support.jetbrains.com/entries/23368682>.

Please sign in to leave a comment.