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

Bug 439574

Summary: one-line JSDoc comment does not produce proposals
Product: [ECD] Orion Reporter: Michael Rennie <Michael_Rennie>
Component: JS ToolsAssignee: Michael Rennie <Michael_Rennie>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 6.0   
Target Milestone: 7.0   
Hardware: All   
OS: All   
Whiteboard:

Description Michael Rennie CLA 2014-07-14 20:44:09 EDT
Consider the following scenario:

Objects.mixin(Foo.prototype, /** @lends Foo.prototype */ {});

If you try to complete the @lends you get no proposals. The problem is in the fixPrefix function: rather than slicing out the new prefix to the end of the original prefix we incorrectly grabbed the rest of the line.