[jbosstools-issues] [JBoss JIRA] (JBIDE-16135) EL Content Assist in Java Editor: Make Content Assistant Additional Info window to support URLs.

Victor Rubezhny (JIRA) jira-events at lists.jboss.org
Tue Nov 26 16:03:05 EST 2013


     [ https://issues.jboss.org/browse/JBIDE-16135?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Victor Rubezhny updated JBIDE-16135:
------------------------------------

    Description: 
EL could be used in String values in Java classes, so the same Additional Info is to be shown for Content Assist in Java Editor as well as in Tooltips (Hovers).

There are two kinds of links which we should support:
1. External HTML links (<a href="http://..."> or <a href="https://...">). Such links are supposed to be opened in the default web browser:

!html.png|thumbnail!

*Note:* we don't have such links in our content assist. This screenshot is just an example how it will look like if we add any <a> to a description message.

2. Internal links to JavaElement (used in JSF EL). It works in the same way as Eclipse JDT content assist does. Such links are supposed to be opened in SWT web browser (in the same description window):

!javadoc.png|thumbnail!

*Steps to test:*

1. Make sure JDK sources are available in Eclipse
2. Create a JSF 2 KickStart project.
3. Open greeting.xhtml
4. Type #{user.name.l and press Ctrl+Space
5. Select length
6. There should be a description dialog with javalement links to length() and CharSequence:

!javadoc.png|thumbnail!

  was:
EL could be used in String values in Java classes, so the same Additional Info is to be shown for Content Assist in Java Editor.

There are two kinds of links which we should support:
1. External HTML links (<a href="http://..."> or <a href="https://...">). Such links are supposed to be opened in the default web browser:

!html.png|thumbnail!

*Note:* we don't have such links in our content assist. This screenshot is just an example how it will look like if we add any <a> to a description message.

2. Internal links to JavaElement (used in JSF EL). It works in the same way as Eclipse JDT content assist does. Such links are supposed to be opened in SWT web browser (in the same description window):

!javadoc.png|thumbnail!

*Steps to test:*

1. Make sure JDK sources are available in Eclipse
2. Create a JSF 2 KickStart project.
3. Open greeting.xhtml
4. Type #{user.name.l and press Ctrl+Space
5. Select length
6. There should be a description dialog with javalement links to length() and CharSequence:

!javadoc.png|thumbnail!


    
> EL Content Assist in Java Editor: Make Content Assistant Additional Info window to support URLs.
> ------------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-16135
>                 URL: https://issues.jboss.org/browse/JBIDE-16135
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: jsp/jsf/xml/html source editing
>    Affects Versions: 4.1.0.Final
>            Reporter: Victor Rubezhny
>            Assignee: Victor Rubezhny
>            Priority: Minor
>              Labels: new_and_noteworthy
>             Fix For: 4.2.0.Alpha1
>
>         Attachments: html.png, javadoc.png
>
>
> EL could be used in String values in Java classes, so the same Additional Info is to be shown for Content Assist in Java Editor as well as in Tooltips (Hovers).
> There are two kinds of links which we should support:
> 1. External HTML links (<a href="http://..."> or <a href="https://...">). Such links are supposed to be opened in the default web browser:
> !html.png|thumbnail!
> *Note:* we don't have such links in our content assist. This screenshot is just an example how it will look like if we add any <a> to a description message.
> 2. Internal links to JavaElement (used in JSF EL). It works in the same way as Eclipse JDT content assist does. Such links are supposed to be opened in SWT web browser (in the same description window):
> !javadoc.png|thumbnail!
> *Steps to test:*
> 1. Make sure JDK sources are available in Eclipse
> 2. Create a JSF 2 KickStart project.
> 3. Open greeting.xhtml
> 4. Type #{user.name.l and press Ctrl+Space
> 5. Select length
> 6. There should be a description dialog with javalement links to length() and CharSequence:
> !javadoc.png|thumbnail!

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list