NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
[resolved] "echo" not recognizing as a function


Joined: 23 May 2007
Posts: 14
Reply with quote
1. In previous versions "echo" was recognized as a function and i get used to its color from color syntax, but now it is not.
Is it a bug or a feature after updating new functions :)?
I wanted to add is a custom function for Reserved words > PHP, but the right window to do this is disabled and i cannot add it.

Question.
2. Is it possible to add somehow one custom folder with classes and functions for project so autocompletion will show them?
We are using Smarty templates, and we would like to keep just one copy of Smarty library on server, not for every project. But if we put it outside of project we dont see theri functions and methods in autocompletion...
For example, it works now if we have:
Project root directory: /www/project1/
Smarty directory: /www/project1/Smarty
Project root directory: /www/project2/
Smarty directory: /www/project2/Smarty

But if we want to use:
Project root directory: /www/project1/
Project root directory: /www/project2/
Smarty directory: /www/Smarty/

then autocompletion for project with Smarty doesnt work...
View user's profileFind all posts by darklowSend private message
Guru master

Joined: 05 Jul 2004
Posts: 659
Location: Belgium
Reply with quote
1) echo is not a function, it's a keyword. Perhaps it was classified wrong in the previous version? FYI: Make sure you are modifying the coloring for the correct PHP version, 4 and 5 have different entries.

2) If you open the project properties, the very last dropdown says "Code insight includes", you can specify any directory there that needs to be included for the autocompletion (= code insight).
View user's profileFind all posts by BlizzSend private messageVisit poster's website
[resolved] "echo" not recognizing as a function
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