PHP Syntax highlighting not showing in Svn repository exploring [message #688145] |
Thu, 23 June 2011 22:57  |
Eclipse User |
|
|
|
Hi peoples,
I use eclipse pdt, eclipse helios sr2 (eclipse 3.6.2, pdt 2.2.1, subclipse 1.6.18, svn javahl 1.6.17 )
Syntax highlighting for php files works fin in php perspective, but in svn repository exploring perspective php files are not color coded.
xml files are color coded
diffs of php files from within svn are color coded
but double clicking on a php file to show the repository version just shows as a plain text files.
I can't find any option to change that effects this
*.php is registered under general > content types > text->php content type
*.php has associated editors "php editor", "text editory" under editors > file associations.
both are locked by php content type, php editor is default
Anyone know what options effect the highlighting from SVN?
|
|
|
|
Re: PHP Syntax highlighting not showing in Svn repository exploring [message #688359 is a reply to message #688145] |
Fri, 24 June 2011 10:05   |
Eclipse User |
|
|
|
Ben K wrote on Thu, 23 June 2011 22:57I use eclipse pdt, eclipse helios sr2 (eclipse 3.6.2, pdt 2.2.1, subclipse 1.6.18, svn javahl 1.6.17 )
Syntax highlighting for php files works fin in php perspective, but in svn repository exploring perspective php files are not color coded.
Quote:double clicking on a php file to show the repository version just shows as a plain text files.
I've never tried this feature before, but now that I have, I can see it's very useful. I see the problem with syntax highlighting, too.
I'm using Helios SR2, but with slightly older versions of the Subversion extensions (Subclipse 1.6.17, SVN JavaHL 1.6.15).
I would really like to know how to enable the syntax highlighting, too.
I've noticed that code-folding is enabled. If I hover the pointer over the "+" sign beside a folded PHP function, a panel appears that shows the code with syntax highlighted. If I keep this view of the file from SVN open and switch back to the PHP perspective, the highlighting doesn't change.
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04760 seconds