[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.tools.pdt] Re: Autocomplete Overwrites too much/too little

https://bugs.eclipse.org/bugs/enter_bug.cgi?product=PDT, in case you're wondering. :)

Michael Spector wrote:
Hi,

Please report a bug.

Thanks!

"Tim College" <tim@xxxxxxxxx> wrote in message news:de28103c1bc7804f2e0c54c4febae1e5$1@xxxxxxxxxxxxxxxxxx
In PDT 2 GA, the autocomplete will overwrite a few extra characters (sometimes).

It always seems to overwrite the semi-colon, so if i have

$temp = $this->property;

And I autocomplete something else in place of ->property;, it will overwrite the semicolon as well.

If I autocomplete a function call inside other parenthesis, it doesn't add new parenthesis correctly. It will add the open, but seems to see the next closing parenthesis and then creates a situation where it's nested improperly.

If I autocomplete a function to replace an existing function, it adds new parenthesis where unnecessary.

$temp = $this->method() becomes $temp = $this->otherMethod()()

Also, it sometimes overwrites the next newline or two and really goofs things up.

Should I log a bug about this?  Am I doing something wrong?

Tim




-- Nick Boldt :: http://wiki.eclipse.org/User:Nickb