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

Bug 440582

Summary: [recovery] content assist computing wrong context for unclosed doc tag
Product: [ECD] Orion Reporter: Michael Rennie <Michael_Rennie>
Component: JS ToolsAssignee: Michael Rennie <Michael_Rennie>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3    
Version: unspecified   
Target Milestone: 7.0   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Michael Rennie CLA 2014-07-28 14:41:10 EDT
Consider the following snippet:

/*

activate content assist after the comment start and notice you get all proposals and no doc ones

I think we need to update our context detection to specify between /* */ (doc) and ?** */ (jsdoc)
Comment 1 Michael Rennie CLA 2014-07-29 17:15:26 EDT
The reason for not finding the correct comment context was that esprima would throw an exception for unclosed block comments.

Pushed recovery support for unclosed block comments + tests to:

http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=7b99b18581c214bab5238a54d40fac60b1fff592

I will update the content assist distinction between jsdoc and doc in bug 440569