[
https://issues.jboss.org/browse/JBIDE-15348?page=com.atlassian.jira.plugi...
]
Alexey Kazakov commented on JBIDE-15348:
----------------------------------------
> Do I understand it right that we can make it work without copying
~10 classes by showing the dialog directly ?
Yes.
> i.e. we simply provide a hyperlink action that gets called if
there is just one option ?
We just add a new hyperlink which is shown only if the file does not exist. But we cannot
control other hyperlinks (if it's not a JBT hyperlink of course).
So if there is another hyperlink which doesn't check if the file exists you will see
both hyperlinks. Our one which creates a new file and the other which does nothing when
you click on it.
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