[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.tools.pdt] Re: auto completion on "static" classes
|
- From: roy@xxxxxxxx (Roy Ganor)
- Date: Thu, 15 Jan 2009 16:44:12 +0000 (UTC)
- Newsgroups: eclipse.tools.pdt
- Organization: Eclipse
- User-agent: NewsPortal/0.36 (http://florian-amrhein.de/newsportal)
Can you file an issue about it?
sounds very important to me too.
- Roy
Nikolai Plath wrote:
Hello,
i am a frequent newsgroup reader, but not a frequent writer.
I have a simple question on a simple problem... at least in my personal
opinion.
The problem is about auto completion on so called "static" classes.
"Project" layout:
project
|--static.php
|--test.php
static.php
--------------
class theStaticClass
{
/**
* My lil test
*
* @return void
*/
function theStaticMethod()
{
echo 'dummy';
}
}
test.php
--------------
the +Ctrl SPC expands to
theStaticClass::
theStaticClass::the +Ctrl SPC -> no completions available
typing by hand:
theStaticClass::theStaticMethod();
on mouse hover gives me full information of class AND method in
tooltip... ???
just trying:
$s = new the +Ctrl SPC expands to
$s = new theStaticClass();
$s-> tooltip shows inmediately the available method...
--------
So this is why I still use PDT 1.0.3 for my everyday/night work where AC
on static classes works exeptionally well.
Currently I am working on some Joomla! projects (http://joomla.org)
which uses static classes all over the place for translation and HTML
output.
I have tried a lot of PDT 2 releases from nightly over I/M to so called
"stable"...sry
The good news is that mark occurences is getting better and better -
this one makes me switching "back" from time to time to PHPEclipse when
I have to deal with extraneous code - please keep working on this one -
it's pretty useful ;)
Memory consumption on debugging also semms to be ok now.
But - sorry - auto completion, in my very personal opinion (maybe), is
one of the most important features.
So I can not vote +1 as a happy PDT 2 user - but I am still a very happy
PDT 1 user :)
But hey - maybe the problem, as usual, is on my side and i am doing
something terribly wrong. So please foregive me - teach me - and you
will have another happy PDT 2 user.
Regards,
Nikolai
PS: not sure if this could be OS related - i am on Linux :)