Bug 88176

Summary: [1.5][assist] Content assistant does not work if trying to use in a "Runnable" "run()" method inside a "for" cycle
Product: [Eclipse Project] JDT Reporter: Aurius <djaura>
Component: CoreAssignee: David Audel <david_audel>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: P3    
Version: 3.1   
Target Milestone: 3.1 M7   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Aurius CLA 2005-03-16 09:41:48 EST
I got "variable cannot be resolved", if I am trying to get content assistance 
in such code:

private Runnable textError = new Runnable()
{
    public void run()
    {
        for (String variable : new String[]{"dsd","sads"})
        {
            variable.<here goes CTRL+space or CTRL+SHIFT+space>
        }
    }
};
Comment 1 Aurius CLA 2005-03-16 09:45:44 EST
I am using:
java version=1.5.0_01
Eclipse:
Version: 3.1.0
Build id: I20050219-1500
Comment 2 David Audel CLA 2005-04-29 08:06:26 EDT
Works inside I20050426-1700