Bug 179000 - [code assist] run() should not be a valid proposal inside the scrapbook page
Summary: [code assist] run() should not be a valid proposal inside the scrapbook page
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.3   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.3 M7   Edit
Assignee: David Audel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-23 09:23 EDT by Olivier Thomann CLA
Modified: 2007-04-27 09:44 EDT (History)
0 users

See Also:


Attachments
Proposed fix (8.21 KB, patch)
2007-03-29 10:40 EDT, David Audel CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Olivier Thomann CLA 2007-03-23 09:23:49 EDT
Using 3.3M6,
1) Create a scrapbook page
2) Code assist in the empty page
3) run() is proposed. This is an implementation detail that should not be exposed to the user.
Comment 1 David Audel CLA 2007-03-29 10:40:50 EDT
Created attachment 62389 [details]
Proposed fix
Comment 2 David Audel CLA 2007-03-29 10:53:15 EDT
Released for 3.3M7.

Test added
  CompletionTests#testEvaluationContextCompletion6()

The fix filters all methods of CodeSnippet and CodeSnippetCompletion which are classes of the evaluation process.
Comment 3 Olivier Thomann CLA 2007-04-27 09:44:44 EDT
Verified for 3.3M7 using I20070427-0010