[jbosstools-issues] [JBoss JIRA] (JBIDE-16077) CLONE - when hyperlinked file does not exist offer to create one
Alexey Kazakov (JIRA)
jira-events at lists.jboss.org
Thu Nov 21 17:47:06 EST 2013
[ https://issues.jboss.org/browse/JBIDE-16077?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexey Kazakov reassigned JBIDE-16077:
--------------------------------------
Assignee: Max Rydahl Andersen (was: Alexey Kazakov)
[~maxandersen] please review the PRs:
*4.1.x branch:*
Base - https://github.com/jbosstools/jbosstools-base/pull/211
JST - https://github.com/jbosstools/jbosstools-jst/pull/227
*4.1.1.x branch:*
Base - https://github.com/jbosstools/jbosstools-base/pull/212
JST - https://github.com/jbosstools/jbosstools-jst/pull/228
*N&N:*
JBIDE-15982 - https://github.com/jbosstools/jbosstools-documentation/pull/217
> CLONE - when hyperlinked file does not exist offer to create one
> ----------------------------------------------------------------
>
> Key: JBIDE-16077
> URL: https://issues.jboss.org/browse/JBIDE-16077
> Project: Tools (JBoss Tools)
> Issue Type: Feature Request
> Components: jsp/jsf/xml/html source editing
> Reporter: Alexey Kazakov
> Assignee: Max Rydahl Andersen
> Priority: Blocker
> Labels: new_and_noteworthy, respin-a
> Fix For: 4.1.1.CR1
>
> Attachments: CreateFileHyperlink.png, CreateMissingFile1.png, CreateMissingFile1.png, CreateMissingFile2.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.
> Note: name of hyperlink is visible only if there are two or more hyperlinks for the same text region.
> If you click on this hyperlink follow dialog will appear:
> !CreateMissingFile1.png!
> If you select checkbox and press OK, wizard will appear:
> !CreateMissingFile2.png!
> If you press button Finish wizard will create the file
--
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