NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Site Admin

Joined: 13 Jul 2003
Posts: 8351
Reply with quote
I tried and it appears to work pefectly well. Could you check the following code, where cursor position is marked with | ?

Code:
<?php
  somefunction();
?>
<|


if it does not work for you, please check if code completion is enabled and if you're editing PHP file (check file associations in tools->settings->associations), they are recognized by file extension. For example if you edit somename.php, check if *.php appears in PHP4 or PHP5 line just one time and does not appear in any other line.

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


Joined: 23 Aug 2005
Posts: 44
Reply with quote
I also noticed this today.

@Dmitri
Your example works fine, however the attached file does not seem to work on any line when saved as a .php file (.php is associated with PHP5).

Code:

<?php
/* --------------------------------------------------------------------- */
/* @author  William Bond [wb] <********>
/* --------------------------------------------------------------------- */
require($_SERVER['DOCUMENT_ROOT'] . "/includes/common.php");

$template->setHtmlTitle("Contact Your Legislator" . HTML_TITLE_TAIL);
$template->printHeader();

/* --------------------------------------------------------------------- */
/* Body
/* --------------------------------------------------------------------- */

$valid_page_functions = array('form', 'list', 'contact_form', 'send_email', 'printer_friendly_page');
$page_function = page_function($valid_page_functions);

$zip_code      = request_value('zip_code');
$legislator_id = request_value('legislator_id');

$message = NULL;
$error   = NULL;
$note    = NULL;

?>

<div id="internal_header">
   <h1>Contact Your Legislator</h1>
</div>

<div class="padded_content">

</div>

<?php
# ----------------------------------- #
#    FOOTER
# ----------------------------------- #
$template->printFooter();
?>
View user's profileFind all posts by willbondSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8351
Reply with quote
Thanks, it's a bug and corresponding fix will come with build 4634.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
Autocompletion does not start
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 2 of 2  

  
  
 Reply to topic