Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » Control+click not working(Control+click cannot open declaration (method & variable))
icon1.gif  Control+click not working [message #1438607] Mon, 06 October 2014 09:10 Go to next message
Phan Soon Huat is currently offline Phan Soon HuatFriend
Messages: 2
Registered: October 2014
Junior Member
I'm using eclipse Luna, control + click on variable or method doesn't navigate to the respective source.

Control space also cannot auto-complete self declared method from another class.

How to solve it?
Re: Control+click not working [message #1438973 is a reply to message #1438607] Mon, 06 October 2014 18:54 Go to previous messageGo to next message
Michal Niewrzal is currently offline Michal NiewrzalFriend
Messages: 50
Registered: July 2009
Member
Hi,
Can you post simple code sample? It will be easier to track problem.
Re: Control+click not working [message #1440172 is a reply to message #1438973] Wed, 08 October 2014 02:59 Go to previous messageGo to next message
Phan Soon Huat is currently offline Phan Soon HuatFriend
Messages: 2
Registered: October 2014
Junior Member
<?php

class Period {

function GetPeriod() {
...
}
}
}
?>

Then on my controller

<?php
require_once 'Model/Period.php';

$periodOjb = new Period ();

$periodList = $periodOjb->GetPeriod();
?>

When i type $periodOjb->
It didn't help me show the available function.
Even after I type it manually, Ctrl + Click doesn't navigate to my model, on holding Ctrl, my cursor doesn't change when I hover on GetPeriod() method.
Re: Control+click not working [message #1440368 is a reply to message #1440172] Wed, 08 October 2014 09:22 Go to previous messageGo to next message
Michal Niewrzal is currently offline Michal NiewrzalFriend
Messages: 50
Registered: July 2009
Member
What version of PDT you are using (Help -> About -> Installation Details)? I tried it with my version and I couldn't reproduce your problem, but I'm using nightly builds. If you want you can try to install latest nightly build (http://download.eclipse.org/tools/pdt/updates/3.3-nightly) and check if there will be difference.
Re: Control+click not working [message #1445764 is a reply to message #1440368] Wed, 15 October 2014 22:49 Go to previous messageGo to next message
Lucas Vidaguren is currently offline Lucas VidagurenFriend
Messages: 1
Registered: October 2014
Junior Member
You could look in the error log if you see errors in the plugin org.eclipse.dltk.core.index.sql.

If that's the case you could just:
1. Close eclipse.
2. Delete the org.eclipse.dltk.core.index.sql.h2 folder in .metadata/.plugins of your workspace. This will delete the Dynamic language Toolkit databases ( those are used in ctrl+click o F3 serach).
3. Open eclipse again, the databases will be recreated
icon14.gif  Re: Control+click not working [message #1454325 is a reply to message #1445764] Tue, 28 October 2014 08:38 Go to previous message
sur1c4t4 sur1c4t4 is currently offline sur1c4t4 sur1c4t4Friend
Messages: 1
Registered: October 2014
Junior Member
Thanks. Works great.
Previous Topic:Unable to locate the "Help > Install New Software..."
Next Topic:Repository not found for PDT 3.3.2 on Eclipse 4.4.1
Goto Forum:
  


Current Time: Fri Oct 04 02:52:14 GMT 2024

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

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

Back to the top