Author Topic: Java rename package refactoring.  (Read 2136 times)

RaffoPazzo

  • Community Member
  • Posts: 77
  • Hero Points: 2
Java rename package refactoring.
« on: March 17, 2012, 03:23:06 PM »
Java "rename package" refactoring.
This should imply also file systems folder renaming/deletion.
« Last Edit: November 10, 2016, 04:56:56 PM by Dennis »

rowbearto

  • Senior Community Member
  • Posts: 2335
  • Hero Points: 132
Java rename package refactoring.
« Reply #1 on: August 05, 2013, 12:55:25 AM »
I would like to have an option to move a file that is open in the editor, by right-clicking on its tab and seeing a "move (mv)" option in the pop-up.  I used the term "move" instead of "rename" to mean what "mv" means in unix - that I can also move the file to another directory.  So choosing the "move (mv)" would pop up an edit box where I can give a new full path (including directory and filename).  The default contents of that edit box would be the current full path of that file.
« Last Edit: November 10, 2016, 04:57:38 PM by Dennis »

rowbearto

  • Senior Community Member
  • Posts: 2335
  • Hero Points: 132
Java rename package refactoring.
« Reply #2 on: February 09, 2014, 05:45:31 PM »
I'd like an option added to the right click menu on a file tab - to rename the file that the tab is referring to.
« Last Edit: November 10, 2016, 04:57:48 PM by Dennis »

warnerrs

  • Senior Community Member
  • Posts: 114
  • Hero Points: 4
Java rename package refactoring.
« Reply #3 on: October 01, 2014, 06:39:44 PM »
Sometimes I want to do a multi-file search/replace which also includes renaming files.

Example, I have a perl module: my_pmod.pm

Code: [Select]
package my_pmod;
#...
1;

I might want to rename the package from my_pmod to pmod. I want to change all 'use's of the package in other files, the name of the package in the .pm file, and the .pm file name. If the file is under version control, it would need to utilize the version control's rename operation.
« Last Edit: November 10, 2016, 04:57:57 PM by Dennis »

garion911

  • Senior Community Member
  • Posts: 201
  • Hero Points: 13
Java rename package refactoring.
« Reply #4 on: May 29, 2016, 05:27:07 AM »
I have my project window in "Directory View".. It would be really useful to have some file management tools when you right click on a file or directory.. Most notably, 'rename'.. It would rename the file/directory on disk, and also in the project. (maybe a checkbox for doing it in source control too? I don't use slick for source control).
« Last Edit: November 10, 2016, 04:58:07 PM by Dennis »