Bug 7509 - 1GQ6DUC: WSWB:WIN2000 - Ctrl-space Code Completion does not work
Summary: 1GQ6DUC: WSWB:WIN2000 - Ctrl-space Code Completion does not work
Status: RESOLVED WORKSFORME
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 1.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 2.0 M3   Edit
Assignee: David Audel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-01-11 16:48 EST by OTI Support CLA
Modified: 2002-01-29 06:59 EST (History)
0 users

See Also:


Attachments
zip file contains 2 jar files to import (424.06 KB, application/octet-stream)
2002-01-11 17:10 EST, OTI Support CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description OTI Support CLA 2002-01-11 16:48:14 EST
Code assist does not work in the following test case.  When you hit ctrl-space,
no options appear.

Steps to Reproduce:

1. create a java project
2. import the following java class
3. import the external jars cm.jar and j2ee.jar into the project.
4. type "ds." ctrl-space, nothing comes up.

package Test;

import com.ibm.websphere.advanced.cm.factory.*;
import javax.sql.*;

public class test1 {

     public static void main(String[] args) throws Exception {
          DataSourceFactory ds = new DataSourceFactory();
          // The getDataSource can't be use with code completion but can be 
written manually.
          // type ds. ctrl-space here - looking for ds.getDataSource(new 
java.util.Properties());
     }
}
Comment 1 OTI Support CLA 2002-01-11 17:10:46 EST
Created attachment 218 [details]
zip file contains 2 jar files to import
Comment 2 OTI Support CLA 2002-01-11 17:12:56 EST
Further testing shows

  Attributes a = new Attributes();
	// a. ctrl-space works here... another class from DataSourceFactory's 
package


          CMFactoryException cmf = new CMFactoryException();
	// cmf. ctrl-space works here... another class from DataSourceFactory's 
package
Comment 3 Erich Gamma CLA 2002-01-13 17:31:48 EST
moving to JDT CORE for investigation
Comment 4 Philipe Mulet CLA 2002-01-16 10:10:45 EST
Please investigate in 2.0 builds.
Comment 5 David Audel CLA 2002-01-29 06:59:16 EST
Fixed in Stream 2.0

See bug <a http://dev.eclipse.org/bugs/show_bug.cgi?id=7119>

The type of tc (a private field of DataSourceFactory) is not in the classpath.
This type is com.ibm.ejs.ras.TraceComponent.