Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » Upgraded to Kepler: content assist no more available
Upgraded to Kepler: content assist no more available [message #1065567] Wed, 26 June 2013 14:15 Go to next message
Michele Locati is currently offline Michele Locati
Messages: 5
Registered: July 2011
Location: Como, Italy
Junior Member
I've just upgraded to Kepler with the following procedure:

- Added http://download.eclipse.org/releases/kepler to the "Available software sites"
- Menu Help - Check for updates
- Updated and restarted Eclipse

Now the content assist stopped working, both for existing project and for a simple php file like the one you can see in the attached picture.

What can I do?

Thanks
--
Michele
Re: Upgraded to Kepler: content assist no more available [message #1065638 is a reply to message #1065567] Wed, 26 June 2013 19:35 Go to previous messageGo to next message
Nicholas Istre is currently offline Nicholas Istre
Messages: 3
Registered: June 2013
Location: Louisiana, USA
Junior Member
I've tried out PDT on Kepler, though by downloading the package and setting it up separately from my Juno (4.2.2) install, and I'm seeing the same thing: Content Assist seems to not be working in PDT on Kepler. Even after cleaning and re-building my projects. I have not tried clearing out caches or creating a new workspace yet.

For now, I've reverted back to Juno. I'll try to do more poking around with Kepler after work tonight.


Kubuntu 13.04 64-bit

$ java -version
java version "1.7.0_21"
OpenJDK Runtime Environment (IcedTea 2.3.9) (7u21-2.3.9-1ubuntu1)
OpenJDK 64-Bit Server VM (build 23.7-b01, mixed mode)
Re: Upgraded to Kepler: content assist no more available [message #1065653 is a reply to message #1065567] Wed, 26 June 2013 23:31 Go to previous messageGo to next message
Toshihiro Izumi is currently offline Toshihiro Izumi
Messages: 351
Registered: July 2009
Location: Japan
Senior Member
Remove files under workspace/.metadata/.plugins/org.eclipse.dltk.core.index.sql.h2

Kepler repository has newer version of h2 database. It is incompatible to older one.
See eclipse/plugins folder, there might be org.h2_1.1.117.v201105142352.jar and org.h2_1.3.168.v201212121212.jar. (don't touch them)
Re: Upgraded to Kepler: content assist no more available [message #1065654 is a reply to message #1065653] Wed, 26 June 2013 23:47 Go to previous messageGo to next message
Nicholas Istre is currently offline Nicholas Istre
Messages: 3
Registered: June 2013
Location: Louisiana, USA
Junior Member
Toshihiro Izumi wrote on Wed, 26 June 2013 19:31
Remove files under workspace/.metadata/.plugins/org.eclipse.dltk.core.index.sql.h2


This was exactly what I did to get Content Assist working just a few minutes before you posted (Shut down eclipse, delete *.db files from that location, restart eclipse, ran a clean and build). I'd suppose that creating a new workspace would have worked too, as those files would be recreated from scratch then.

Thanks!

[Updated on: Wed, 26 June 2013 23:47]

Report message to a moderator

Re: Upgraded to Kepler: content assist no more available [message #1065680 is a reply to message #1065653] Thu, 27 June 2013 06:29 Go to previous messageGo to next message
Michele Locati is currently offline Michele Locati
Messages: 5
Registered: July 2011
Location: Como, Italy
Junior Member
Toshihiro Izumi wrote on Thu, 27 June 2013 01:31
Remove files under workspace/.metadata/.plugins/org.eclipse.dltk.core.index.sql.h2


It worked, great! Thank you Toshihiro!!
Re: Upgraded to Kepler: content assist no more available [message #1066160 is a reply to message #1065653] Mon, 01 July 2013 10:05 Go to previous messageGo to next message
Nataly Mogilka is currently offline Nataly Mogilka
Messages: 11
Registered: August 2010
Location: Kazakhstan, Almaty
Junior Member
Toshihiro Izumi, thanx a lot
Re: Upgraded to Kepler: content assist no more available [message #1066227 is a reply to message #1065653] Mon, 01 July 2013 15:33 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin Dahyabhai
Messages: 2310
Registered: July 2009
Senior Member
Is there any way for the user not to have to do this manually?

---
Nitin Dahyabhai
Eclipse WTP, IBM
Re: Upgraded to Kepler: content assist no more available [message #1137607 is a reply to message #1065653] Mon, 14 October 2013 16:06 Go to previous messageGo to next message
clive darra is currently offline clive darra
Messages: 6
Registered: October 2013
Junior Member
AMAZING and THANKS

deleting all the .dbs in

~/workspace.metadata/.plugins/org.eclipse.dltk.core.index.sql.h2

also made my eclipse 4.3.1 PDT 3.2.0 PHP open declarations [F3] start working again too !
Re: Upgraded to Kepler: content assist no more available [message #1139046 is a reply to message #1066227] Tue, 15 October 2013 13:53 Go to previous messageGo to next message
Toshihiro Izumi is currently offline Toshihiro Izumi
Messages: 351
Registered: July 2009
Location: Japan
Senior Member
Nitin Dahyabhai wrote on Mon, 01 July 2013 11:33
Is there any way for the user not to have to do this manually?

No way. (I'm not sure what you expect though)
Possible solutions are
1. DLTK checks the database version and migrate it. They don't.
2. Delete database files manually. I'm assuming this is the best for some reason.
3. Put h2mig_pagestore_addon.jar which can be downloaded from http://www.h2database.com/html/advanced.html#database_upgrade into the system classpath manually. I don't recommend this for some reason.
(This is too much old and frequently answered issue for me. I don't remember fully)
Re: Upgraded to Kepler: content assist no more available [message #1163226 is a reply to message #1065567] Wed, 30 October 2013 22:56 Go to previous messageGo to next message
John M. is currently offline John M.
Messages: 198
Registered: July 2010
Senior Member
Perhaps a way would be to delete the old indexes automatically if the system notices an old database version. Smile
Re: Upgraded to Kepler: content assist no more available [message #1231894 is a reply to message #1163226] Wed, 15 January 2014 17:28 Go to previous messageGo to next message
Rob Pawluk is currently offline Rob Pawluk
Messages: 1
Registered: January 2014
Junior Member
I just installed Kepler a few days ago, and content assist is not working for me.

However, I don't seem to have any of the directories mentioned above. I also tried creating a new workspace, but that didn't fix the problem either.

Has anyone else run into this?
Re: Upgraded to Kepler: content assist no more available [message #1232307 is a reply to message #1231894] Thu, 16 January 2014 16:49 Go to previous messageGo to next message
Nicholas Istre is currently offline Nicholas Istre
Messages: 3
Registered: June 2013
Location: Louisiana, USA
Junior Member
Only things I can suggest checking that you are in the PHP perspective, and that the PHP Build and PHP Include Paths are setup for the projects (Right-click on the project in PHP Explorer and go into Properties). If those aren't setup right, you might want to create a separate topic for help setting that up.

Otherwise, content-assist has been working for me and others I've helped setup in our office using the latest Kepler and PDT.
Re: Upgraded to Kepler: content assist no more available [message #1239930 is a reply to message #1232307] Wed, 05 February 2014 10:42 Go to previous messageGo to next message
Luke Johnstone is currently offline Luke Johnstone
Messages: 2
Registered: February 2014
Junior Member
Just registered to THANK the person who came up with this solution. Much time saved. Thanks.

A Mod should pin this solution.
Re: Upgraded to Kepler: content assist no more available [message #1290959 is a reply to message #1232307] Thu, 10 April 2014 15:35 Go to previous message
Zardosht Hodaie is currently offline Zardosht Hodaie
Messages: 4
Registered: December 2011
Junior Member
Nicholas Istre wrote on Thu, 16 January 2014 11:49
Only things I can suggest checking that you are in the PHP perspective, and that the PHP Build and PHP Include Paths are setup for the projects (Right-click on the project in PHP Explorer and go into Properties). If those aren't setup right, you might want to create a separate topic for help setting that up.

Otherwise, content-assist has been working for me and others I've helped setup in our office using the latest Kepler and PDT.



Thanks. This solved the problem. My source folder was not on the build path (right click on the project -> properties -> PHP build path).
Previous Topic:code formatter remove pipe caracters used for multitype in @return comments
Next Topic:File explorer like Total Commander or Windows commander
Goto Forum:
  


Current Time: Fri Oct 24 23:21:40 GMT 2014

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

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