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

Bug 357725

Summary: @Resource annotation does not appear in content assist
Product: z_Archived Reporter: Tony Chen <chenzhh>
Component: EDTAssignee: Xiao Bin Chen <xiaobinc>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: jvincens
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Change service prototype string lasher: iplog+

Description Tony Chen CLA 2011-09-15 01:28:43 EDT
@Resource annotation does not appear in content assist

put cursor in the place of @Resource and press the Content Assist key, it automatically fills @DedicatedService{}. I would expect @Resource annotation to appear as CA proposal. 

function func()
   myService MyService{@Resource}
end
Comment 1 Tony Chen CLA 2011-09-18 23:13:06 EDT
also, when we create a variable for a service, the content assist creates code like 

myService MyService {@bindService};


instead of 

myService MyService {@Resource};
Comment 2 Xiao Bin Chen CLA 2011-09-22 03:04:03 EDT
Created attachment 203815 [details]
Change service prototype string
Comment 3 Xiao Bin Chen CLA 2011-09-22 03:04:29 EDT
fixed
Comment 4 Tony Chen CLA 2011-10-20 07:37:32 EDT
verified