Constructor details [message #213356] |
Fri, 01 June 2007 15:23  |
Eclipse User |
|
|
|
Hello! I'm a new Eclipse user. I have some little knowledge about
programming in JAVA. I was using the GEL IDE for JAVA. Now i found the
ECLIPSE!
I want to know one thing:
In gel when I write the constructor method, when I open the first
parenthesis, the IDE give's me the parameters details for that
constructor. But in the ECLIPSE nothing like that occurs. Is there any
function I can activate for this to happen?
|
|
|
|
|
Re: Constructor details [message #213436 is a reply to message #213404] |
Sat, 02 June 2007 16:31   |
Eclipse User |
|
|
|
irshad wrote:
> Thank you Mark Dexter! It was very useful.
> One thing also I want to know:
> In the GEL IDE when the pop-up menu appears (Like this: System.(when I
> press dot, appears a pop-up menu)), it gives me a brief description about
> the method and the parammeters. How can i have this description in the
> Eclipse?
> Thank you.
> Best Regards.
It's a little hard to describe. On my system, I get a yellow box next to
the list of options. For example, if I type "sys" and then press
CTRL-Space, I get a list of options. If I arrow down to "System -
Java.lang", I get a yellow text box next to the drop-down list box that
contains a bunch of documentation about the System class. As I arrow up or
down, the text in the box changes.
By the way, if you do a lot of System.out.println("test") commands, a cool
shortcut is to just type in the string you want to print (e.g., "test"),
highlight it, press CTRL-Space, the UP arrow, and ENTER. Eclipse puts in
the rest of the command automatically. CTRL-Space is your friend! HTH.
Mark Dexter
|
|
|
Re: Constructor details [message #213498 is a reply to message #213436] |
Sun, 03 June 2007 14:26   |
Eclipse User |
|
|
|
------------------------------------------------------------ -------------------
Mark Dexter wote:
It's a little hard to describe. On my system, I get a yellow box next to
the list of options. For example, if I type "sys" and then press
CTRL-Space, I get a list of options. If I arrow down to "System -
Java.lang", I get a yellow text box next to the drop-down list box that
contains a bunch of documentation about the System class. As I arrow up or
down, the text in the box changes.
By the way, if you do a lot of System.out.println("test") commands, a cool
shortcut is to just type in the string you want to print (e.g., "test"),
highlight it, press CTRL-Space, the UP arrow, and ENTER. Eclipse puts in
the rest of the command automatically. CTRL-Space is your friend! HTH.
Mark Dexter
------------------------------------------------------------ -------------------
Thanks again Mark Dexter! I have found the solution for my problem!
The Eclipse detected the JRE in my machine and not the JDK. So, the JRE
was unable to give the documentation about the methods and parammeters. So
I did a search and selected the JDK path and enabled it. Thats all!
Now when I type "sys" and then press CTRL-Space, I get a list of options
and a yellow text box next to the drop-down list box as you said.
But for one thing I am not really happy. I can't read all the
documentation in the yellow box. It's too small! I think a good ideia
would be to have a scroll bar under the box so we could read all the
information it gives.
|
|
|
Re: Constructor details [message #213546 is a reply to message #213498] |
Sun, 03 June 2007 18:41  |
Eclipse User |
|
|
|
> But for one thing I am not really happy. I can't read all the
> documentation in the yellow box. It's too small! I think a good ideia
> would be to have a scroll bar under the box so we could read all the
> information it gives.
At the bottom of the yellow box, it says "Press F2 for focus". If you do
that, you can scroll the text box. Cheers. Mark Dexter
|
|
|
Powered by
FUDForum. Page generated in 0.10920 seconds