[jbosstools-issues] [JBoss JIRA] (JBIDE-15348) when hyperlinked file does not exist offer to create one

Daniel Azarov (JIRA) jira-events at lists.jboss.org
Wed Sep 18 13:11:03 EDT 2013


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

Daniel Azarov updated JBIDE-15348:
----------------------------------

    Attachment: CreateMissingFile1.png

    
> when hyperlinked file does not exist offer to create one
> --------------------------------------------------------
>
>                 Key: JBIDE-15348
>                 URL: https://issues.jboss.org/browse/JBIDE-15348
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: jsp/jsf/xml/html source editing
>            Reporter: Max Rydahl Andersen
>            Assignee: Daniel Azarov
>              Labels: new_and_noteworthy
>             Fix For: 4.2.0.Alpha1
>
>         Attachments: CreateFileHyperlink.png, CreateMissingFile1.png, Question.png
>
>
> When Ctrl+clicking on app.js in this snippet:
> <script type="text/javascript" src="js/app.js"></script>
> And the file js/app.js does not exist eclipse just "blinks".
> Better if we could offer creating the file, even just a blank/empty one.
> The same goes for image and css references, all those would be nice not having to go through the full ctrl+N wizard to just create such files.
> *Details:*
> Implemented new hyperlink detector which works for follow files: xml, htm, html, jsp, xhtml.
> Hyperlink detector searches in text nodes and attribute values for string which ends with ".js", ".css", ".jsp", ".htm", ".html" and ".xhtml". Hyperlink detector tries to consider that string as a file name and tries to find that file in a project. If there is no such file, hyperlink detector makes hyperlink which offer to create missing file:
> File '<filename>' does not exist. Click here to create.
> If you click on this hyperlink follow dialog appears:

--
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