HTML Tags in PHP Files [message #1759686] |
Sat, 15 April 2017 10:02  |
Eclipse User |
|
|
|
This is an undocumented problem with highlighting matching html tags not working, as shown these pictures.
This picture shows the objective, and it is working awesome, just not in Eclipse, unfortunately.

The picture shows the failure mode in Eclipse. Basically, the tags are not highlighting in a visible manner. I cannot complain about the price of Eclipse, but this fail is a problem nonetheless. I don't use it every day, but when I do, it is because it is extremely handy.

I have read 30 times today, the way to get this working is to enable it through Preferences->General->Editors->Text Editors-> annotations->matching tags This picture shows that preference set, but having no effect.

If you have any tips I would really appreciate them. Thank you.
Attachment: aptana.png
(Size: 261.50KB, Downloaded 1803 times)
Attachment: e1.png
(Size: 233.08KB, Downloaded 1489 times)
Attachment: e2.png
(Size: 210.79KB, Downloaded 1580 times)
|
|
|
|
Re: HTML Tags in PHP Files [message #1759913 is a reply to message #1759798] |
Wed, 19 April 2017 16:45   |
Eclipse User |
|
|
|
Kaloyan, Thank you for responding and assisting with my problem.
The php file containing html is attached.
It just dawned on me, I should have mentioned I am using Remote System Explorer and do not have this setup as a project. I am using Remote System Explorer to connect to a remote linux installation. The network connection is very high speed, so I do not have a local directory or project, just the remote file system accessed with either FTP or SSH in RSE. In other words, the problem might be tied to the RSE.
Based on what you wrote, I bet if I set up a project with these files, I would see the same result as you.

Attachment: rse.png
(Size: 288.74KB, Downloaded 1366 times)
Attachment: php.php
(Size: 8.45KB, Downloaded 286 times)
[Updated on: Wed, 19 April 2017 18:59] by Moderator
|
|
|
|
|
Re: HTML Tags in PHP Files [message #1804190 is a reply to message #1760081] |
Wed, 20 March 2019 04:11  |
Eclipse User |
|
|
|
For me the matching tags Highlight don't work in php files if I use namespaces.
<?php namespace Testnamespace
?>
<div> </div>
After deleting or commentin namespace everything works well. Have anyone a solution for that?
PS: I Use Eclipse IDE for PHP Developers
Version: 2018-12 (4.10.0)
Build id: 20181214-0600
|
|
|
Powered by
FUDForum. Page generated in 0.04099 seconds