Question about Code Assist [message #78334] |
Thu, 14 August 2008 19:19  |
Eclipse User |
|
|
|
Hi,
Previously with my Java development through Eclipse I would use Code
Assist to see the parameters needed for a function. Sometimes I would be
able to type out the function quicker than using the code assist to get
the function name as such my line of code would look something like:
my_function(<cursor here>)
Now with the Java editor I could press CTRL+SPACE and it would list the
parameters required / optional as part of the function (similar to using
code assist on "my_functio" without completing the function name).
In the PHP Editor I have noticed that if the function is complete and
you are in the same cursor position the Code Assist will return every
possible variable / editor template values as if it didn't understand
that we are already part of a function.
** Another Example **
I am typing in my function and I remember the first parameter but don't
remember the next parameters. Code would currently look like:
my_function(my_first_param, <cursor here>)
Again, with the Java Editor I could use CTRL+SPACE and it would list the
other required / optional parameters to complete the function.
In the PHP Editor it lists all the variables / editor templates as if it
isn't aware of the current function.
***
Is this a "bug" or is this more of a feature request to get into a later
build of PDT?
--
Shawn Clark
|
|
|
Re: Question about Code Assist [message #78348 is a reply to message #78334] |
Thu, 14 August 2008 21:16   |
Eclipse User |
|
|
|
Shawn Clark wrote:
> Hi,
> Previously with my Java development through Eclipse I would use Code
> Assist to see the parameters needed for a function. Sometimes I would be
> able to type out the function quicker than using the code assist to get
> the function name as such my line of code would look something like:
> my_function(<cursor here>)
> Now with the Java editor I could press CTRL+SPACE and it would list the
> parameters required / optional as part of the function (similar to using
> code assist on "my_functio" without completing the function name).
> In the PHP Editor I have noticed that if the function is complete and
> you are in the same cursor position the Code Assist will return every
> possible variable / editor template values as if it didn't understand
> that we are already part of a function.
> ** Another Example **
> I am typing in my function and I remember the first parameter but don't
> remember the next parameters. Code would currently look like:
> my_function(my_first_param, <cursor here>)
> Again, with the Java Editor I could use CTRL+SPACE and it would list the
> other required / optional parameters to complete the function.
> In the PHP Editor it lists all the variables / editor templates as if it
> isn't aware of the current function.
> ***
> Is this a "bug" or is this more of a feature request to get into a later
> build of PDT?
> --
> Shawn Clark
This should work for you with PDT, because it works for me with the 1.x
branch. It works for me with 2.x as well, but 2.x PDT seems slow and buggy
right now.
|
|
|
|
Re: Question about Code Assist [message #78508 is a reply to message #78436] |
Mon, 18 August 2008 17:09   |
Eclipse User |
|
|
|
Originally posted by: dcarver.starstandard.org
Roy wrote:
> Instread using only "Ctrl + Space" you should press "Ctrl +Shift +
> Space" should do the work...
>
>
Why? CTRL + SPACE is the normal content assistance?
Dave
|
|
|
|
Powered by
FUDForum. Page generated in 0.03938 seconds