Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 357725 - @Resource annotation does not appear in content assist
Summary: @Resource annotation does not appear in content assist
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Xiao Bin Chen CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-15 01:28 EDT by Tony Chen CLA
Modified: 2017-02-23 14:15 EST (History)
1 user (show)

See Also:


Attachments
Change service prototype string (1.30 KB, patch)
2011-09-22 03:04 EDT, Xiao Bin Chen CLA
lasher: iplog+
Details | Diff

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