Bug 3332 - Content assist- fields not shown for parameter values until first character is typed (1GI7G93)
Summary: Content assist- fields not shown for parameter values until first character i...
Status: RESOLVED WONTFIX
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 2.0 M1   Edit
Assignee: Philipe Mulet CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-10-10 22:53 EDT by Philipe Mulet CLA
Modified: 2002-01-11 09:22 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philipe Mulet CLA 2001-10-10 22:53:22 EDT
prefix        test
name          178602
reference     175336
abstract      content assist: implicit objects not shown for jsp expression
duplicate     

state         open                        priority      3                   
severity      3                           target                            
age           30                          due                               
product                         hasApar                           

compName      wsa.web.oti                 answer                            
release                                   symptom       io                  
envName       Windows2000                 phaseFound    testBad             
level                                     phaseInject                       

addDate       2001/07/02 18:55:23         assignDate    2001/07/16 17:47:49 
lastUpdate    2001/07/16 17:47:49         responseDate  2001/07/08 18:12:33 
endDate                                

ownerLogin    decandio                    originLogin   endres              
ownerName     George DeCandio             originName    Kathy Endres        
ownerArea     9ZVA                        originArea    AVALON              

apar                                      pmr                          
test                                                                                               

tracks: none.

verify: none.

history:
    addDate              action          userLogin (userName)
    -------------------- --------------- ----------------------------------
    2001/07/02 18:55:23  open            aix (Aix Family)
    2001/07/02 18:55:25  modify          aix (Aix Family)
    2001/07/02 20:13:59  modify          davidw (Williams, David Michael)
    2001/07/02 20:14:16  assign          davidw (Williams, David Michael)
    2001/07/08 18:12:33  return          decandio (George DeCandio)
    2001/07/16 17:46:51  reopen          endres (Kathy Endres)
    2001/07/16 17:47:49  assign          endres (Kathy Endres)

duplicate defects: none.

duplicate features: none.

sizing: none.

notes:
    <Note by aix (Aix Family), 2001/07/02 18:55:23, seq: 1 rel: 0  action: open>
This defect was opened automatically in response to bad verification results.
See defect 175336 for the previous history of this problem.

    <Note by aix (Aix Family), 2001/07/02 18:55:25, seq: 2 rel: 0  action: modify>
Old Originator: aix
New Originator: endres



    <Note by davidw (Williams, David Michael), 2001/07/02 20:13:59, seq: 3 rel: 0  action: modify>
Old Priority:  
New Priority:  3



    <Note by davidw (Williams, David Michael), 2001/07/02 20:14:16, seq: 4 rel: 0  action: assign>
Old Owner: davidw
New Owner: decandio



    <Note by decandio (George DeCandio), 2001/07/08 18:12:33, seq: 5 rel: 0  action: return>
I looked at this and it looks like a restriction in the java code
assist.  If code assist is selected at the beginning of a line then
the fields are displayed without requiring the first letter to be typed.
If it is in the middle of a line it requires the first character to be typed
before it will come up with a field name.

Here how you can see this is a Java class.  Create the following class:

package george;
public class TestClass {
       private String field1;
       private String field2;
       
       public void newMethod() {
              System.out.println(/*1*/);
              /*2*/
       }
}

If you put the cursor before /*1*/ you will see that field1 and field2 do not show
up in the list of possible code assist selections.  If you put the cursor before before /*2*/
and select code assist you will see that the field1 and field2 are in the list of
possible selections.

    <Note by endres (Kathy Endres), 2001/07/16 17:46:51, seq: 6 rel: 0  action: reopen>
Am reopening this defect so that it can be looked at by OTI to see
if it is something they can fix in the future.

    <Note by endres (Kathy Endres), 2001/07/16 17:47:49, seq: 7 rel: 0  action: assign>
Old Component: wsa.web.xmleditor
New Component: wsa.web.oti





NOTES:

PM (9/4/01 9:58:44 AM)
	This behavior is intentional and consistent with what we did in VAJ.
Comment 1 Philipe Mulet CLA 2001-10-11 07:11:34 EDT
PM
 Current behavior is VAJ compatible. And a way to provide argument hints.
 Closing
Comment 2 DJ Houghton CLA 2001-10-29 17:10:12 EST
PRODUCT VERSION:
	R09, Win2000