From quanta Mon May 14 11:55:54 2007 From: Sjoerd Westerterp Date: Mon, 14 May 2007 11:55:54 +0000 To: quanta Subject: Re: [Quanta] Autocompletion Message-Id: <46484E4A.6040206 () westerterp ! com> X-MARC-Message: https://marc.info/?l=quanta&m=117914379824024 Date: Mon, 14 May 2007 11:02:44 +0300 From: Andras Mantia Subject: Re: [Quanta] Advanced Autocompletion To: Quanta users list Message-ID: <200705141102.52240.amantia@kde.org> Content-Type: text/plain; charset="iso-8859-2" On Monday 14 May 2007, Sjoerd Westerterp wrote: > > Hello again. > >> > I finally discovered Ctrl+Space activates autocompletion for custom > > PHP functions in the file currently edited in Quanta+. A great help. > > Is it possible to go even one step further and make the > > autocomplete/code insight function aware of definitions in > > PHP-included/required files? What about files in the current project? > > The manual is rather short on this topic. > Variables and functions from the included file should work. Not from > inclusions from the included files and not for classes AFAIR. > Andras > and not files included using a variable...(include($foo.".php");)... > or files quanta cannot find - basically not specified relative to the > current file - such as a function in your global includes dir... > Andrew Lowe That explains! I rarely used a full path in my includes since the majority is found via the include path. And several classes are autoloaded using __autoload(). Thanks a lot for clearing that up! BTW, It DOES work for classes as well I just discovered. As soon as I typed '$myobj = new' immediately the suggestion "bar" popped up. (I defined function foo and class bar in a test include file. You were right about the files included in included files though, Andras. You guys are great! _______________________________________________ Quanta mailing list Quanta@mail.kde.org https://mail.kde.org/mailman/listinfo/quanta