Improved php intellisense
Moderator: kfury77
Forum rules
Please follow these guidelines when posting feature requests. This will help to increase the value of your contribution.
Please follow these guidelines when posting feature requests. This will help to increase the value of your contribution.
- Do not create new topics for already requested features. Add your comments to the existing feature request topics instead;
- Create separate topic for each feature suggestion. Do NOT post a number of non-related feature suggestions in a single topic;
- Give your topic a meaningful title. Do NOT create topics with meaningless titles, such as "My Suggestion" or "My Problem".
Any chance of getting improved php intellisense.
(Right now it just lists all the variables on a page ... so if you're building a class and use $this->do_something a couple of times ... you'll see $this->do_something however many times you use it instead of it just being one variable.
Also it doesn't do intellisense for included files, which I think would be a killer feature.
(Right now it just lists all the variables on a page ... so if you're building a class and use $this->do_something a couple of times ... you'll see $this->do_something however many times you use it instead of it just being one variable.
Also it doesn't do intellisense for included files, which I think would be a killer feature.
- Karlis
- Site Admin
- Posts: 3605
- Joined: Mon Jul 15, 2002 5:24 pm
- Location: Riga, Latvia, Europe
- Contact:
The object auto complete is already available for a while, you have to type $this-> and the list of properties and methods pops up. Ctrl+Space is also working.ikeo wrote:Any chance of getting improved php intellisense.
(Right now it just lists all the variables on a page ... so if you're building a class and use $this->do_something a couple of times ... you'll see $this->do_something however many times you use it instead of it just being one variable.
Also it doesn't do intellisense for included files, which I think would be a killer feature.
I know this ... but I'm asking for the impossibleKarlis wrote:The object auto complete is already available for a while, you have to type $this-> and the list of properties and methods pops up. Ctrl+Space is also working.ikeo wrote:Any chance of getting improved php intellisense.
(Right now it just lists all the variables on a page ... so if you're building a class and use $this->do_something a couple of times ... you'll see $this->do_something however many times you use it instead of it just being one variable.
Also it doesn't do intellisense for included files, which I think would be a killer feature.

Intellisense from an included file. So if I include a class ... say class_db
and then I go
$page = new class_db();
and then type in $page ... there's no intellisense
I want there to be ... TSW WebCoder had it and I was very fond of it

Hey Karlis ... I finally figured out the problem!
if I use
instead of
intellisense works fine
can you possibly fix this ... I still do a bit of work in PHP4 so passing by reference is a must.
if I use
Code: Select all
$test = new object();
Code: Select all
$test = &new object();
can you possibly fix this ... I still do a bit of work in PHP4 so passing by reference is a must.
Hi,
here (WeBuilder V8.3) intellisense is not working with included files. for example, if I have defined a function in a file example.php:
and include this file in another file:
I do not get any call tips when typing the opening brace after foo( as I would when using a standard library function or if foo was defined in the same file.
It would really be a big plus if this worked.
cheers, drjee
here (WeBuilder V8.3) intellisense is not working with included files. for example, if I have defined a function in a file example.php:
Code: Select all
function foo($bar) {
return $bar;
}
Code: Select all
require("example.php");
foo(
It would really be a big plus if this worked.
cheers, drjee
"Free" functions indeed are not available in the AC list from included files. This will be added in next version.require("example.php");
foo(
Thank you for your report. We shall consider whether to improve this or not. As stated, on www.php.net, support for version 4.4 has been discarded now, so I am not sure whether it is worth improving intellisense functionality for it.$test = &new object();
This is one of the reasons I suggested adding a feature to be able to add "included" or personal "library" files or directories to a project or to a PHP "setup" in general, so intellisense will have alternate places to look if a class is not defined in the local file and some sophisticated include paths or programming tricks are used.Yes this is already in (unless some sophisticated include paths or programming tricks are used which can not be parsed by editor).
The other main reason is to allow the addition of external libraries, such as PEAR or Smarty, to also be available to intellisense.
-
- Posts: 43
- Joined: Thu Jan 10, 2008 11:55 am
Yes, File List is needed
Yes, Please, a separate file list is needed.
All of my paths are computed because my program has to be able to run from any location and the directory layout is fairly complex.
The "project" knows what the files are.... if you could just parse any file in the project that would be good.
All of my paths are computed because my program has to be able to run from any location and the directory layout is fairly complex.
The "project" knows what the files are.... if you could just parse any file in the project that would be good.