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 04:52 Go to next message
Caleb Downs is currently offline Caleb Downs
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 15: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 12:09 Go to previous messageGo to next message
Russell Bateman is currently offline Russell Bateman
Messages: 3133
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 16:20 Go to previous messageGo to next message
Caleb Downs is currently offline Caleb Downs
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] Wed, 07 March 2012 20:58 Go to previous messageGo to next message
Caleb Downs is currently offline Caleb Downs
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: Wed, 07 March 2012 21: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 14:47 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin Dahyabhai
Messages: 2237
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 WTP, IBM
Re: No Method List when Period Typed [message #818500 is a reply to message #817208] Sun, 11 March 2012 14:50 Go to previous messageGo to next message
Caleb Downs is currently offline Caleb Downs
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 15:53 Go to previous message
Caleb Downs is currently offline Caleb Downs
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: Mon Jul 28 22:41:52 EDT 2014

Powered by FUDForum. Page generated in 0.02523 seconds