In this section, you will use refactoring to move and copy resources between Tcl packages.;
Open the Script explorer view and right click the project icon. Then select New > Tcl package context menu item.
Type a package name in the dialog and press Finish.
A new package has been created in the current project.
Create a new Tcl file in the project as shown in the first section of this tutorial.
Now drag the file and drop it into the new package. Then click OK in the Move dialog. The file will be moved. Note that you may copy a file if you drag and drop it while keeping Ctrl pressed.
You can also move a file between packages using the context menu. To use it just right click the file and select Refactor > Move. Then choose the destination package in the dialog and press OK.