History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: YWSPR-15
Type: New Feature New Feature
Status: Open Open
Priority: Normal Normal
Assignee: Maurice Montgenie
Reporter: Maurice Montgenie
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
YanaWare IdeaSpring

Intention for adding properties to a bean declaration

Created: 11 May 06 17:59   Updated: 09 Feb 07 15:32
Component/s: Inspection
Affects Version/s: 1.2.5
Fix Version/s: Inconnue

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown


 All   Comments   Work Log   Change History      Sort Order:
Maurice Montgenie - 08 Jul 06 10:12
When creating a bean of class "Foo", having writable properties of type "Bar", "Baz" and "Goo", the user should only type:
<bean id="foo" class="Foo">

(possibly closed) and then idea should pop-up an intention offering to "add property tags", choosing which should then open a list of all the writable properties. If the user chooses "bar" and "baz", then idea should add
<property name="bar">|</property>
<property name="baz"></property>

with the caret at the | point. Idea could offer various auto-completions, here, starting from automatic "bean" tag insertion for already defined beans of the right class, or <list>, <map> tags for List and Map properties, etc.