Go Back   Android Forums > Android Development > Application Development
Application Development Dev Lounge for the Coder Folks
Gamers - Check out our new sister sites!
Nintendo Wii U!    |    OUYA - $99 Android System!

test: Reply
 
LinkBack Thread Tools
Old January 28th, 2012, 02:21 PM   #1 (permalink)
New Member
Thread Author (OP)
 
Join Date: Jan 2012
Posts: 4
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Angry Eclipse doesn't offer to add import or show functions

Somehow I've screwed up my Eclipse installation. Used to be if I added a new instance of an Android object (say a TextView) and I right clicked on the error, it would offer to add the import. Also if I had an Android object and typed it followed by a period, it would show me all the allowed functions. Now it doesn't do either, just shows me java info. Don't know what I did, since this used to work. I updated everything, but still no joy. Can anyone help me get this back to the way it was?

Thanks,

Dan

danhinsley is offline  
Reply With Quote
Sponsors
Old January 28th, 2012, 05:19 PM   #2 (permalink)
Member
 
Join Date: Oct 2011
Location: Sydney, Australia
Posts: 193
 
Device(s): Galaxy Nexus GSM
Carrier: Not Provided

Thanks: 2
Thanked 37 Times in 33 Posts
Default

Try restoring defaults to:
Preferences > Java > Editor > Content Assistant
Preferences > Java > Editor > Content Assistant > Advanced.
jiminaus is offline  
Reply With Quote
Old January 29th, 2012, 05:16 PM   #3 (permalink)
New Member
Thread Author (OP)
 
Join Date: Jan 2012
Posts: 4
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

I restored Preferences > Java > Editor > Content Assistant to the defaults (no help) but there wasn't an Advanced button on that tab. Is it somewhere else?

Thanks,

Dan
danhinsley is offline  
Reply With Quote
Old January 29th, 2012, 05:19 PM   #4 (permalink)
New Member
Thread Author (OP)
 
Join Date: Jan 2012
Posts: 4
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

Never mind, I found advanced. Setting it to defaults didn't help either.

Any other ideas?
danhinsley is offline  
Reply With Quote
Old January 30th, 2012, 12:46 AM   #5 (permalink)
Member
 
Join Date: Oct 2011
Location: Sydney, Australia
Posts: 193
 
Device(s): Galaxy Nexus GSM
Carrier: Not Provided

Thanks: 2
Thanked 37 Times in 33 Posts
Default

If you create a new workspace, does it work?
jiminaus is offline  
Reply With Quote
Old April 6th, 2012, 11:39 AM   #6 (permalink)
New Member
Thread Author (OP)
 
Join Date: Jan 2012
Posts: 4
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

Creating a new project doesn't help, it doesn't show the functions in the new project either.

This is really making me crazy. I'm thinking I'm either going to have to switch to a different environment, or completely uninstall everything and reinstall it!

Grrrr,

Dan
danhinsley is offline  
Reply With Quote
Old May 5th, 2012, 07:51 AM   #7 (permalink)
New Member
 
Join Date: Jan 2012
Posts: 11
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 1 Time in 1 Post
Default

Well I've had similar problems, if I added a button or something it occasionally only showed java.. as it already imported it so great, typing periods and nothing happens, restarting eclipse fixed this for me and finally have you tried simply hovering over textview etc to import them, that's all I do I've never right clicked as it did nothing but bring up normal text options
ggldn is offline  
Reply With Quote
Reply
Tags
eclipse, include, suggestion


Go Back   Android Forums > Android Development > Application Development
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 09:11 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.