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

Max Rydahl Andersen (JIRA) jira-events at lists.jboss.org
Thu Aug 22 01:16:27 EDT 2013


    [ https://issues.jboss.org/browse/JBIDE-15348?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12798360#comment-12798360 ] 

Max Rydahl Andersen commented on JBIDE-15348:
---------------------------------------------

Do I understand it right that we can make it work *without* copying ~10 classes by showing the dialog directly ?

i.e. we simply provide a hyperlink action that gets called if there is just one option ?

Then that works like I would expect - ctrl+click or F3 would show the user this dialog (it should by the way show the path/name of the file not just "File does not exist") and then create the file.

Maybe if the file has a well known suffix (.js, .css, .html) have a checkbox that says something like

[ ] Use <xyz> wizard to create the file

assuming we can tell wizards generically what filename they should initially be created with.
                
> 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.x
>
>         Attachments: CreateFileHyperlink.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.

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