Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 239091

Summary: No full package path to autocomplete-suggested methods
Product: [Eclipse Project] JDT Reporter: Marcin Kowalski <marcin.kowalski.pl>
Component: TextAssignee: JDT-Text-Inbox <jdt-text-inbox>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: daniel_megert
Version: 3.4   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Marcin Kowalski CLA 2008-07-01 05:44:22 EDT
Build ID:  I20080617-2000

Steps To Reproduce:
1. Add both JUnit and TestNG to your Java project dependencies
2. Create a new Java class and main method.
3. Inside this method type "Assert.". Popup appears...


More information:
It is very likely to make a mistake when using new 3.4 feature of code completion for classes without prior importing, because it is not possible to guess what _exact_ class will be imported. Having two calsses with same names and methods with identical signatures is quite rare, but it is just what happened to me. Awful.
Comment 1 Dani Megert CLA 2008-07-01 05:51:22 EDT

*** This bug has been marked as a duplicate of bug 161242 ***