Skip to main content



      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 10:15 Go to next message
Eclipse UserFriend
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 15:35 Go to previous messageGo to next message
Eclipse UserFriend
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 19:31 Go to previous messageGo to next message
Eclipse UserFriend
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 19:47 Go to previous messageGo to next message
Eclipse UserFriend
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 19:47] by Moderator

Re: Upgraded to Kepler: content assist no more available [message #1065680 is a reply to message #1065653] Thu, 27 June 2013 02:29 Go to previous messageGo to next message
Eclipse UserFriend
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 06:05 Go to previous messageGo to next message
Eclipse UserFriend
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 11:33 Go to previous messageGo to next message
Eclipse UserFriend
Is there any way for the user not to have to do this manually?
Re: Upgraded to Kepler: content assist no more available [message #1137607 is a reply to message #1065653] Mon, 14 October 2013 12:06 Go to previous messageGo to next message
Eclipse UserFriend
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 09:53 Go to previous messageGo to next message
Eclipse UserFriend
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 18:56 Go to previous messageGo to next message
Eclipse UserFriend
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 12:28 Go to previous messageGo to next message
Eclipse UserFriend
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 11:49 Go to previous messageGo to next message
Eclipse UserFriend
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 05:42 Go to previous messageGo to next message
Eclipse UserFriend
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 11:35 Go to previous messageGo to next message
Eclipse UserFriend
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).
Re: Upgraded to Kepler: content assist no more available [message #1696125 is a reply to message #1065567] Fri, 22 May 2015 04:48 Go to previous message
Eclipse UserFriend
if you just don't have the standard php Objects/Functions, you can manually add
eclipse\configuration\org.eclipse.osgi\729\0\.cp\Resources\language\php5.6 as external source folder.
(Search for standard.php in your eclipse Folder)
Previous Topic:How can i create a PHP Remote Project ...
Next Topic:Eclipse error: Java heap space
Goto Forum:
  


Current Time: Mon Mar 10 21:52:05 EDT 2025

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

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

Back to the top