Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » PDT 2.0 RC1 - still problems with CodeIgniter (maybe Zend too?)
PDT 2.0 RC1 - still problems with CodeIgniter (maybe Zend too?) [message #86833] Mon, 15 December 2008 10:11 Go to next message
Eclipse UserFriend
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 12:34 Go to previous message
Roy Ganor is currently offline Roy GanorFriend
Messages: 149
Registered: July 2009
Senior Member
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.
Previous Topic:Requirements for namespace support in PDT
Next Topic:Eclipse PDT / XDebug / JIT
Goto Forum:
  


Current Time: Sat May 11 05:00:59 GMT 2024

Powered by FUDForum. Page generated in 0.06044 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top