[
https://issues.jboss.org/browse/JBIDE-15348?page=com.atlassian.jira.plugi...
]
Daniel Azarov commented on JBIDE-15348:
---------------------------------------
Now I see two ways to implement this feature:
1. Make hyper link which offers to create missing file and make him visible in popup
menu:
!CreateFileHyperlink.png!
But for this we have to have our own copy of follow WTP classes:
StructuredDocumentDamagerRepairer, StructuredTextMultiPassContentFormatter,
StructuredTextViewerConfiguration, StructuredTextViewerConfigurationXML,
StructuredTextViewerUndoManager and PresentationCollector
That's because Eclipse by default shows hyperlinks in popup menu only if numbers of
hyperlinks for current region more then 1. But our hyperlink makes sense only if it is
shown in popup menu in order to inform user before creating missing file
2. Make hyperlink which shows dialog before file:
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