NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Code Insight on HTML tags


Joined: 16 Nov 2005
Posts: 28
Reply with quote
I do not seem to be able to get Code Insight to work for any HTML tags. I use PHP files with embedded HTML tags - not HTML files. Could this be the problem?

I cannot get the HTML context help to work either - for the same reason, I presume.
View user's profileFind all posts by kneighbourSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
I assume that you mean Code Completion for HTML tags and their attributes.
There are no known problems with this, neither in html nor in php files.
If you got any problems, submit code and screenshots, please.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 16 Nov 2005
Posts: 28
Reply with quote
dmitri wrote:
I assume that you mean Code Completion for HTML tags and their attributes.
There are no known problems with this, neither in html nor in php files.
If you got any problems, submit code and screenshots, please.

I guess I do mean this.

I do not know if images would help. Code Completion works ok for HTML tags in pure HTML files. I have looked at quite a few PHP files, and it does not work in any. I have picked a code segment below at random as an example.

To summarise

PHP (.php)
PHP code completion works
HTML code completion does not work
PHP and HTML Context Help works

Javascript (.js)
code completion does not work (this might be normal?)
context help works.

HTML (.html)
Code completion works
Context Help works

CSS (.css)
code completion works
Context Help works

INC (.inc)
PHP code completion works
HTML code completion works
PHP and HTML Context Help works


Here is an example from a PHP file that does not work (test.php)
---------------------------------------
<?php
/*
*/
if (!isset($process))
{$process=false;}
?>
<table border = "0" width = "100%" cellspacing = "0" cellpadding = "2">
<tr>
<td>
</td>
</tr>
</table>
---------------------------------------

I thought it might be the missing <HTML> tags at the top of the file (which are present in HTML files, but not PHP ones. But the INC file I tested is just a PHP file renamed, and that worked ok (and it did not have the <HTML> header.

Mind you, I do not know why I am going to all this effort - I never use HTML tag completion anyway! What we really need is a tag editor.
View user's profileFind all posts by kneighbourSend private message


Joined: 16 Nov 2005
Posts: 28
Reply with quote
Just a bit more info

Auto Closing Tags works - ie I can type in <tr> and I then get </tr>. But I cannot get code completion still...so it is half working.
View user's profileFind all posts by kneighbourSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
Seems, it relates to this post autocompletion-does-not-start-t2888-12.html

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 16 Nov 2005
Posts: 28
Reply with quote
dmitri wrote:
Seems, it relates to this post autocompletion-does-not-start-t2888-12.html

Thanks.
View user's profileFind all posts by kneighbourSend private message
Code Insight on HTML tags
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic