PDT 2.0 RC1 - still problems with CodeIgniter (maybe Zend too?) [message #86833] |
Mon, 15 December 2008 05:11  |
Eclipse User |
|
|
|
Originally posted by: spam.networks.fi
Code Igniter allows us use "linking" when creating database queries. It
works like this:
$this->db->select('emai')->from('table')->where('company', 'xyz');
Too bad, PDT 2.0 RC1 gives error when writing the arrow next to ('email')
Problems During Content Assist
The 'org.eclipse.php.ui.PHPCompletionProposalComputer' proposal computer
from the 'org.eclipse.php.ui' plug-in did not complete normally. The
extension has thrown a runtime exception.
==
I'd like to get this fixed before releasing Final. And i remember
someone said something about this earlier, but i didn't find the post
anymore.
|
|
|
Re: PDT 2.0 RC1 - still problems with CodeIgniter (maybe Zend too?) [message #86844 is a reply to message #86833] |
Mon, 15 December 2008 07:34  |
Eclipse User |
|
|
|
thanks for your request,
bug was issued and fixed (https://bugs.eclipse.org/258800), will be ready
for RC2 (and nightly).
But actually there is something you should understand:
the reason you got this exception is that PDT couldn't resolve the
following statement "type"- $this->db->select('emai')->|
so when you hit ctrl+space on this position (|) PDT tries to resolve the
"type" and it seems that with your current code base this can't be
resolved.
Check the following options to fix such problems:
1. add /* @var */ tag to the $db member
2. add /* @return */ tag to the select() method
hope this helped you!
- Roy
Jasmo Hiltula wrote:
> Code Igniter allows us use "linking" when creating database queries. It
> works like this:
> $this->db->select('emai')->from('table')->where('company', 'xyz');
> Too bad, PDT 2.0 RC1 gives error when writing the arrow next to ('email')
> Problems During Content Assist
> The 'org.eclipse.php.ui.PHPCompletionProposalComputer' proposal computer
> from the 'org.eclipse.php.ui' plug-in did not complete normally. The
> extension has thrown a runtime exception.
> ==
> I'd like to get this fixed before releasing Final. And i remember
> someone said something about this earlier, but i didn't find the post
> anymore.
|
|
|
Powered by
FUDForum. Page generated in 0.14154 seconds