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 230269

Summary: Refactoring: extract a partial TWIG
Product: php Reporter: Monomachus
Component: TwigAssignee: Ondrej Brejla <obrejla>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 7.4   
Hardware: PC   
OS: Other   
Issue Type: ENHANCEMENT Exception Reporter:

Description Monomachus 2013-05-25 22:13:30 UTC
I would like to have an option on selected area in a TWIG: 
1. extract partial TWIG or extract another TWIG.
2. I would click on this menu item
3. A popup with the name & location for the new item appears 
4. I select the location, enter the name.
5. Click "OK"
Result:
1. Twig is extracted with another file with entered name and in selected location
2. In the original Twig a line with include tag with the new name of extracted Twig is automatically inserted

Thank you.