The code diff dialog view has been improved. The Git Integration for Jira app uses the correct syntax highlighting when viewing the code diff of the file based on its file extension:
File Extension | Language ID |
css | CSS |
js | Javascript |
cpp | C++ |
cs | C# |
sh | Bash |
java | Java |
sql | SQL |
py | Phyton |
rb | Ruby |
php, phtml, php3, php4, php5 | PHP |
html, html, xhtml, xml | Markup |
c, h, m, mm, pl, pm | CLike |
There is no language auto-detection in the diff dialog. The detection is based on file extension.
This feature will only display properly on browsers supported by Atlassian for specific versions of Jira: