Bug 179000

Summary: [code assist] run() should not be a valid proposal inside the scrapbook page
Product: [Eclipse Project] JDT Reporter: Olivier Thomann <Olivier_Thomann>
Component: CoreAssignee: David Audel <david_audel>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 3.3   
Target Milestone: 3.3 M7   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Proposed fix none

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