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

Bug 461949

Summary: [hover] Allow plug-in hovers to pass back strings rather than objects
Product: [ECD] Orion Reporter: Curtis Windatt <curtis.windatt.public>
Component: ClientAssignee: Curtis Windatt <curtis.windatt.public>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: emoffatt, Michael_Rennie
Version: 8.0   
Target Milestone: 9.0   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Curtis Windatt CLA 2015-03-11 15:59:42 EDT
Currently a plug-in contributed hover service must return an object containing two properties, content and type.  If either of these properties are missing the hover will not be rendered.

If an unrecognized type is found, we process the content.data as a string.

We should probably remove the requirement on the type property.  We could go a step further and check if the data object is a String and treat it similarly.