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

Bug 417864

Summary: HTML content assist broken
Product: [ECD] Orion Reporter: John Arthorne <john.arthorne>
Component: ClientAssignee: Mark Macdonald <mamacdon>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: mamacdon, Silenio_Quarti
Version: 3.0   
Target Milestone: 4.0 RC1   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
fix none

Description John Arthorne CLA 2013-09-23 14:43:37 EDT
4.0 M2

Content assist in HTML seems quite broken. Regardless of the prefix, it just proposes every possible HTML tag. When I select one, it adds the entire tag rather than just completing the tag I started writing. I.e., if I do this:

<h3$$

Where $$ is the cursor, and I invoke content assist, I end up with:

<h3<h3></h3>
Comment 1 Silenio Quarti CLA 2013-09-23 15:31:41 EDT
It seems to be something related the number "3", if the prefix is "<h$$", it works fine to me.
Comment 2 Silenio Quarti CLA 2013-09-23 15:37:16 EDT
Created attachment 235730 [details]
fix