Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » Can't open code declaration
Can't open code declaration [message #883317] Fri, 08 June 2012 09:31 Go to next message
I Nyoman Hellen Paramita is currently offline I Nyoman Hellen Paramita
Messages: 5
Registered: February 2012
Location: Bali
Junior Member

Hello guys,

I have problem while opening php method/code declaration or wordpress method declaration. I use eclipse helios and I have installed PDT to helios.

1. For example, I have php code like this:
$sql = mysql_query($query);

I can't open mysql_query method while clicking mysql_query or press F3

2. For example, I have wordpress method like this:
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />

I can't open <?php bloginfo('stylesheet_url'); ?> declaration while clicking bloginfo or press F3

Does anyone know how to fix it?

Thanks in Advance
Manellen

[Updated on: Fri, 08 June 2012 09:33]

Report message to a moderator

Re: Can't open code declaration [message #883635 is a reply to message #883317] Sat, 09 June 2012 00:45 Go to previous messageGo to next message
Toshihiro Izumi is currently offline Toshihiro Izumi
Messages: 351
Registered: July 2009
Location: Japan
Senior Member
eclipse pdt open declaration not working - Google Search
Wow, Google suggests "eclipse pdt open declaration not working" when I typed "eclipse pdt o".

Make sure you have a PHP Project - your editing file is in the PHP project.


BTW, pdt 2.2.1(in the helios repository) is the worst version ever. To use Indigo(eclipse3.7.2) and the latest pdt in the indigo repository is strongly recommended.(I don't mean the latest one is bug-free though)
Re: Can't open code declaration [message #884466 is a reply to message #883635] Mon, 11 June 2012 06:14 Go to previous messageGo to next message
I Nyoman Hellen Paramita is currently offline I Nyoman Hellen Paramita
Messages: 5
Registered: February 2012
Location: Bali
Junior Member

Toshihiro Izumi wrote on Fri, 08 June 2012 20:45

eclipse pdt open declaration not working - Google Search
Wow, Google suggests "eclipse pdt open declaration not working" when I typed "eclipse pdt o".

Make sure you have a PHP Project - your editing file is in the PHP project.


BTW, pdt 2.2.1(in the helios repository) is the worst version ever. To use Indigo(eclipse3.7.2) and the latest pdt in the indigo repository is strongly recommended.(I don't mean the latest one is bug-free though)


Hi, thanks for your reply, I will try your suggestions Toshihiro Izumi.

Thanks in advanced.
Re: Can't open code declaration [message #885075 is a reply to message #883635] Tue, 12 June 2012 12:19 Go to previous messageGo to next message
I Nyoman Hellen Paramita is currently offline I Nyoman Hellen Paramita
Messages: 5
Registered: February 2012
Location: Bali
Junior Member

Toshihiro Izumi wrote on Fri, 08 June 2012 20:45

eclipse pdt open declaration not working - Google Search
Wow, Google suggests "eclipse pdt open declaration not working" when I typed "eclipse pdt o".

Make sure you have a PHP Project - your editing file is in the PHP project.


BTW, pdt 2.2.1(in the helios repository) is the worst version ever. To use Indigo(eclipse3.7.2) and the latest pdt in the indigo repository is strongly recommended.(I don't mean the latest one is bug-free though)


Hi Toshihiro Izumi,

I have installed new Eclipse PDT by Zend but I'm still can't open the code declaration and I also can't see code highlighting, completion, etc.

Is this happen because I still use the previous version of Eclipse that is Eclipse Helios?

Please guide me,

Thanks in advance
Re: Can't open code declaration [message #1137582 is a reply to message #885075] Mon, 14 October 2013 15:46 Go to previous messageGo to next message
clive darra is currently offline clive darra
Messages: 6
Registered: October 2013
Junior Member
one year later php open declaration [F3] is still broken in eclipse 4.3.1

1)create a new php project

2)create a new php file

<?php

function xxx() {
}


xxx();
xxx();
xxx();

4) move cursor to one of last 3 line lines

5) click [F3] [ctrl][F3] [ctrl][shift][F3]

nothing happens
Re: Can't open code declaration [message #1137675 is a reply to message #1137582] Mon, 14 October 2013 17:02 Go to previous message
clive darra is currently offline clive darra
Messages: 6
Registered: October 2013
Junior Member
fixed if you delete your master.db's see http://www.eclipse.org/forums/index.php/m/1065653/?srch=dltk.core.index.sql#msg_1065653
Previous Topic:Where PDT 3.2.1?
Next Topic:Breakpoints in Kepler ignored
Goto Forum:
  


Current Time: Mon Oct 20 18:00:09 GMT 2014

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

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