Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » [SOLVED] Content/Code Assist Broken?
[SOLVED] Content/Code Assist Broken? [message #812788] Sun, 04 March 2012 09:52 Go to next message
Caleb Downs is currently offline Caleb DownsFriend
Messages: 7
Registered: October 2011
Junior Member
When editing the code in Eclipse IDE, and i enter a method from which another method can be returned from it, no list of methods pops up when i enter a period.

Example:

Integer.parseInt(String s);

if i were to type 'Integer' then the period, no list would pop up that contains the method 'parseInt(String s)'

[Updated on: Sun, 11 March 2012 19:53]

Report message to a moderator

Re: No Method List when Period Typed [message #812982 is a reply to message #812788] Sun, 04 March 2012 17:09 Go to previous messageGo to next message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 2012.03.04 2:52, Missing name Mising name wrote:
> When editing the code in Eclipse IDE, and i enter a method from which
> another method can be returned from it, no list of methods pops up when
> i enter a period.
>
> Example:
>
> Integer.parseInt(arg);
>
> if i were to type 'Integer' then the period, no list would pop up that
> contains the method 'parseInt()'

Is there an actual JDK present (not merely a JRE)?
Re: No Method List when Period Typed [message #813109 is a reply to message #812982] Sun, 04 March 2012 21:20 Go to previous messageGo to next message
Caleb Downs is currently offline Caleb DownsFriend
Messages: 7
Registered: October 2011
Junior Member
Yeah. It was working earlier, then it just stopped. I don't know why.
Re: No Method List when Period Typed [message #815749 is a reply to message #813109] Thu, 08 March 2012 01:58 Go to previous messageGo to next message
Caleb Downs is currently offline Caleb DownsFriend
Messages: 7
Registered: October 2011
Junior Member
Is there a certain area in the preferences window that enables/disables it?

EDIT: It seems to be in Java > Editor > Content Assist. However 'Auto-Activation' is checked...

[Updated on: Thu, 08 March 2012 02:11]

Report message to a moderator

Re: No Method List when Period Typed [message #817208 is a reply to message #815749] Fri, 09 March 2012 19:47 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4430
Registered: July 2009
Senior Member

On 3/7/2012 8:58 PM, Caleb Downs wrote:
> Is there a certain area in the preferences window that enables/disables it?

If the list still comes up when you manually hit Ctrl+Space, you can
check which characters will bring up the list automatically from the
Java Content Assist preference page, as "auto activation triggers for Java".

---
Nitin Dahyabhai
Eclipse WTP Source Editing and JSDT
IBM Rational


_
Nitin Dahyabhai
Eclipse Web Tools Platform
Re: No Method List when Period Typed [message #818500 is a reply to message #817208] Sun, 11 March 2012 18:50 Go to previous messageGo to next message
Caleb Downs is currently offline Caleb DownsFriend
Messages: 7
Registered: October 2011
Junior Member
Nitin Dahyabhai wrote on Fri, 09 March 2012 14:47
If the list still comes up when you manually hit Ctrl+Space, you can check which characters will bring up the list automatically from the Java Content Assist preference page, as "auto activation triggers for Java".


It seems to ONLY come up when i manually do ctrl + space. There is a period for the activation trigger. When the window does comes up it says there are no proposals (Java Proposals is checked in the top box on the "Advanced" page)
Re: No Method List when Period Typed [message #818529 is a reply to message #818500] Sun, 11 March 2012 19:53 Go to previous message
Caleb Downs is currently offline Caleb DownsFriend
Messages: 7
Registered: October 2011
Junior Member
NEVERMIND I FIXED IT.

I was typing "Integer. " outside the main method as the test. when i typed it inside the main method it worked. Now i feel dumb
Previous Topic:Downloaded Eclipse Now What???
Next Topic:libxml2
Goto Forum:
  


Current Time: Thu Mar 28 08:03:29 GMT 2024

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

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

Back to the top