[jbosstools-issues] [JBoss JIRA] (JBIDE-15742) Make Content Assistant Additional Info window to support URLs.

Alexey Kazakov (JIRA) jira-events at lists.jboss.org
Tue Nov 19 20:51:05 EST 2013


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

Alexey Kazakov updated JBIDE-15742:
-----------------------------------

    Description: 
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:
Need to make Content Assistant Additional Info to support URL links to:

- Web-sites' pages (need to open such pages)
- JavaElement's (need to browse to the Add.Info of according Java Element as it works in Java Content Assistant)



    
> Make Content Assistant Additional Info window to support URLs.
> --------------------------------------------------------------
>
>                 Key: JBIDE-15742
>                 URL: https://issues.jboss.org/browse/JBIDE-15742
>             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
>             Fix For: 4.2.x
>
>         Attachments: html.png, javadoc.png
>
>
> 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