NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Disable Code Completion of HEREDOC line?


Joined: 06 Aug 2007
Posts: 37
Location: Atlanta, Georgia USA
Reply with quote
Hi,

This is a small thing but a constant annoyance. I frequently use HEREDOC to include HTML in my PHP scripts. I often do something like this:

Code:
$html = <<<HTML
<html>
<head>...</head>
<body>...</body>
</html>
HTML;


However, as I type the first line, because of code completion that is working in an invalid context, PhpEd insists that what I want is this!:

Code:
$html = <<<htmlentities()


For another use case I often end up with:

Code:
$sql = <<<SQL_BEST_ROWID


For each of those I almost always end up having to go back and fix any heredocs. Kinda makes code-completion more of an annoyance than a help.

So, if possible it would be nice if you could disable code completion after the "<<<". Small things make a difference. Thanks for considering it.

-Mike
View user's profileFind all posts by MikeSchinkelSend private messageVisit poster's website
Disable Code Completion of HEREDOC line?
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