Bug 88176 - [1.5][assist] Content assistant does not work if trying to use in a "Runnable" "run()" method inside a "for" cycle
Summary: [1.5][assist] Content assistant does not work if trying to use in a "Runnable...
Status: RESOLVED WORKSFORME
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.1 M7   Edit
Assignee: David Audel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-16 09:41 EST by Aurius CLA
Modified: 2005-04-29 08:06 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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