Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 327092 - [contentassist] No taglib suggestions in JSP tag files when cursor is inside any element
Summary: [contentassist] No taglib suggestions in JSP tag files when cursor is inside ...
Status: RESOLVED FIXED
Alias: None
Product: WTP Source Editing
Classification: WebTools
Component: jst.jsp (show other bugs)
Version: 3.2.1   Edit
Hardware: PC All
: P3 major (vote)
Target Milestone: 3.2.3   Edit
Assignee: Nick Sandonato CLA
QA Contact: Nick Sandonato CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-06 07:38 EDT by Andre Albino Pereira CLA
Modified: 2010-10-06 10:29 EDT (History)
2 users (show)

See Also:
nsand.dev: review+


Attachments
[patch] Extension points for "org.eclipse.jst.jsp.core.tagsource" content type (1.02 KB, patch)
2010-10-06 08:08 EDT, Andre Albino Pereira CLA
nsand.dev: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.