This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 245981 - Action to copy a file to another path
Summary: Action to copy a file to another path
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: Actions (show other bugs)
Version: 8.0.1
Hardware: PC Linux
: P3 normal with 1 vote (vote)
Assignee: Jan Peska
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-25 08:23 UTC by stinky.genius
Modified: 2014-07-25 20:26 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description stinky.genius 2014-07-25 08:23:37 UTC
This feature is similar to the one in the Eclipse IDE, and would love to have it NetBeans.

How it works:

 - We select a file (In "projects" or in "files") and initiate the "Copy to" action. (Whether it's a shortcut or a context menu item)
 - A small dialog with two text boxes and a submit button would appear.
 - The first *read only* text box would show the current path.
 - The second text box would require the user input which would be the new path.
 - Once the user inputs the new path and submits, the directory structure that was inputed would be created recursively if it doesn't already exists.
 - The file gets copied to the new path.

This is most useful for design patterns like magento's. Where they use fallback hierarchy (specially for theming).

So if a template file exists in {ProjectPath}/app/design/frontend/base/default/template/catalog/product/view.phtml and we wanted to add that to our theme at {ProjectPath}/app/design/frontend/some_theme/default/template/catalog/product/view.phtml
(notice all that changed was the "base" dir)
This feature can be quite helpful instead of having to create the folders one by one.