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

Bug 327092

Summary: [contentassist] No taglib suggestions in JSP tag files when cursor is inside any element
Product: [WebTools] WTP Source Editing Reporter: Andre Albino Pereira <andreptb>
Component: jst.jspAssignee: Nick Sandonato <nsand.dev>
Status: RESOLVED FIXED QA Contact: Nick Sandonato <nsand.dev>
Severity: major    
Priority: P3 CC: andreptb, thatnitind
Version: 3.2.1Flags: nsand.dev: review+
Target Milestone: 3.2.3   
Hardware: PC   
OS: All   
Whiteboard:
Attachments:
Description Flags
[patch] Extension points for "org.eclipse.jst.jsp.core.tagsource" content type nsand.dev: iplog+

Description Andre Albino Pereira CLA 2010-10-06 07:38:12 EDT
Build Identifier: 20100617-1415

It seems org.eclipse.jst.jsp.core/plugin.xml is missing "org.eclipse.wst.xml.core.modelQueryExtensions" extension point declarations for contentType "org.eclipse.jst.jsp.core.tagsource" (see patch). Suggestions will only show if cursor is at the root of the document (see Bug 31196). 

Reproducible: Always

Steps to Reproduce:
1.Add a <table> element
2. Put the cursor inside the created <table> element, try to use content assist (ctrl+space) to insert a taglib (try to find <jsp:doBody> within suggestions for example).
Comment 1 Andre Albino Pereira CLA 2010-10-06 08:08:56 EDT
Created attachment 180319 [details]
[patch] Extension points for "org.eclipse.jst.jsp.core.tagsource" content type
Comment 2 Andre Albino Pereira CLA 2010-10-06 08:11:21 EDT
Bug 311961 and not Bug 31196 as mentioned before

(In reply to comment #0)
> Build Identifier: 20100617-1415
> 
> It seems org.eclipse.jst.jsp.core/plugin.xml is missing
> "org.eclipse.wst.xml.core.modelQueryExtensions" extension point declarations
> for contentType "org.eclipse.jst.jsp.core.tagsource" (see patch). Suggestions
> will only show if cursor is at the root of the document (see Bug 31196). 
> 
> Reproducible: Always
> 
> Steps to Reproduce:
> 1.Add a <table> element
> 2. Put the cursor inside the created <table> element, try to use content assist
> (ctrl+space) to insert a taglib (try to find <jsp:doBody> within suggestions
> for example).
Comment 3 Nick Sandonato CLA 2010-10-06 10:28:22 EDT
Thanks for your patch, I've committed it to 3_2_Maintenance and HEAD.