Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 326062 - No content assist in attribute-embedded scriptlets
Summary: No content assist in attribute-embedded scriptlets
Status: RESOLVED FIXED
Alias: None
Product: WTP Source Editing
Classification: WebTools
Component: jst.jsp (show other bugs)
Version: 3.2.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.2.2 P   Edit
Assignee: Nick Sandonato CLA
QA Contact: Nick Sandonato CLA
URL:
Whiteboard:
Keywords:
: 326131 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-09-23 10:21 EDT by Nick Sandonato CLA
Modified: 2010-10-04 14:36 EDT (History)
3 users (show)

See Also:
thatnitind: review+


Attachments
patch (1.22 KB, patch)
2010-09-23 10:25 EDT, Nick Sandonato CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Nick Sandonato CLA 2010-09-23 10:21:58 EDT
When invoking content assist in attribute-embedded scriptlets, we're not providing any proposals.

For example,

<div class="<%= req| >%"></div> will not provide any proposals. Results are returned for scriptlets in custom tag attributes and also outside of attributes in normal content.
Comment 1 Nick Sandonato CLA 2010-09-23 10:25:22 EDT
Created attachment 179462 [details]
patch

The original source has a method to determine if regions that are defined as JSP scriptlet could be interpreted as needing Java content assist. Unfortunately, it didn't consider the simple scenario of it is itself a JSP scriptlet in a complex region.
Comment 2 Nick Sandonato CLA 2010-09-24 09:38:15 EDT
*** Bug 326131 has been marked as a duplicate of this bug. ***
Comment 3 Carl Anderson CLA 2010-10-04 14:36:53 EDT
Committed to R3_2_2_patches