[jbosside-issues] [JBoss JIRA] Created: (JBIDE-434) support configurable strategy for "format HQL" function in HQL editor
by Joseph Marques (JIRA)
support configurable strategy for "format HQL" function in HQL editor
---------------------------------------------------------------------
Key: JBIDE-434
URL: http://jira.jboss.com/jira/browse/JBIDE-434
Project: JBoss IDE
Issue Type: Feature Request
Components: Hibernate Tools
Affects Versions: 2.0.0.Beta2
Reporter: Joseph Marques
Assigned To: Max Andersen
I use the HQL editor to mock up new JPQL statements, and then copy and paste them from there over into some @NamedQuery definition on the appropriate class. Persons responsible for maintaining multiple back-end codebases, or those motivated individuals that have personal projects on the side, might have to adhere to multiple code conventions across these different bases. In order to facilitate more control in this arena, which I believe would also add significant value to the tool, the HQL editor could support formatting statements based on a configurable strategy. Here are some suggestions:
1) Alias with "AS" - yes / no - determines whether all aliases should have "AS" inserted before it, if missing, or not
2) Captialization - ALLCAPS / allsmall / Firstletter
3) Relationship syntax - legacy / modern - determine whether inner joins shoudl be "IN (obj.relationships) rel" / "INNER JOIN obj.relationships rel
4) Explicit inner/outer - yes/no - determine whether the optional "inner" and "outer" keywords should be part of the formatted hql/jpql
But that's just to start. In an ideal world, every part of the formatting would be configurable (similar to how Eclipse offers extermely flexible code formatting) including:
* before / after / or both before & after what hql/jpql keywords the statement should break to the next line
* whether aliases should be automatically introduced (when they don't exist) for better readability
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 9 months
[jbosside-issues] [JBoss JIRA] Created: (JBIDE-435) Error message when opening HQL editor from the Hibernate Configurations view
by Joseph Marques (JIRA)
Error message when opening HQL editor from the Hibernate Configurations view
----------------------------------------------------------------------------
Key: JBIDE-435
URL: http://jira.jboss.com/jira/browse/JBIDE-435
Project: JBoss IDE
Issue Type: Bug
Components: Hibernate Tools
Affects Versions: 2.0.0.Beta2
Reporter: Joseph Marques
Assigned To: Max Andersen
If you don't explicitly select some Configuration from the HIbernate Configurations view before clicking on the "Open HQL Editor" in the upper-right hand side of that view, you'll get an Eclipse error msg box that reads "An Error has occurred. See error log for more details."
At this very least, this can be handled more gracefully as a warning. Though, it would be nice to see the icon/button greyed out / made inactive if some configuration is not selected. This way, the HQL Editor can't be opened unless some configuration is selected. To really polish it off, if there is only one Configuration defined, then the HQL editor should automatically default to that one.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 9 months
[jbosside-issues] [JBoss JIRA] Created: (JBIDE-410) Twiddle help should not be external
by Max Andersen (JIRA)
Twiddle help should not be external
------------------------------------
Key: JBIDE-410
URL: http://jira.jboss.com/jira/browse/JBIDE-410
Project: JBoss IDE
Issue Type: Feature Request
Components: JBossAS Adapter
Reporter: Max Andersen
Assigned To: Robert Stryker
currently clicking "Twiddle help" opens up some webpage where the relevant content is a mile down.
It shouuld instead be in eclipse help and thus a sidebar to the dialog + we shuold include the dos (or some of them) with the plugin and then add links to external webpages (or optimal the docs that the runtime points to)
But first foremost try and avoid first class help links that points to something external which a laptop user not connected to the net can use for anything
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 10 months