[
https://jira.jboss.org/jira/browse/JBIDE-4916?page=com.atlassian.jira.plu...
]
Viacheslav Kabanovich commented on JBIDE-4916:
----------------------------------------------
Here is a usecase.
EXECUTE: Create file 'hibernate.properties'. Name is important.
EXECUTE: Open it in JBoss Tools Properties Editor.
EXECUTE: In 'Properties' (ui) tab, press 'Add' button to invoke 'Add
Property' dialog.
EXECUTE: in 'Name' field invoke content assist by Ctrl+Space.
ASSERT: proposals includes 'hibernate.' which is prefix for all properties.
EXECUTE: select 'hibernate.' and invoke content assist again.
ASSERT: proposals includes 'hibernate.dialect' (as well as other prefixes and
properties)
EXECUTE select 'hibernate.dialect', focus 'Value' field and invoke content
assist in it
ASSERT: proposals contain list of dialects
EXECUTE: return to 'Name' field, input another property, say,
hibernate.use_sql_comments, and once more focus 'Value' field and invoke content
assist in it
ASSERT: proposals contain 'true' and 'false'.
EXECUTE: Switch to Source tab.
EXECUTE: Invoke content assist in an empty line or in line with a property name within
text of property name.
ASSERT: proposals will contain properties (prefixed with existing name to the left of
cursor)
EXECUTE: input hibernate.connection.driver_class=o and invoke content assist after the
last letter o.
ASSERT: java type proposals starting with 'o' appear.
EXECUTE: Switch again to Properties tab and select hibernate.connection.driver_class
property in the table.
EXECUTE: Invoke 'Edit' dialog.
EXECUTE: invoke code assist in 'Value' field after letter 'o'
ASSERT: java type proposals starting with 'o' appear.
Editor for hibernate.properties file with content assist for
available hibernate properties
-------------------------------------------------------------------------------------------
Key: JBIDE-4916
URL:
https://jira.jboss.org/jira/browse/JBIDE-4916
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Components: Hibernate
Affects Versions: 3.1.0.M4
Reporter: Denis Golovin
Assignee: Viacheslav Kabanovich
Priority: Minor
Fix For: 3.1.0.M4
Editor should be based on JBT .properties editor and should provide content assist for
hibernate properties and property values with description.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira