If you perform the actual “Refactoring → Rename”, for example, using SHIFT + F6 , you edit every file that has a link to this variable name , regardless of whether they are currently open, the editor doesn’t matter if you change then, all edited files are edited, and any VCS will consider their changes.
The reformatting behavior of the entire file during refactoring was in Idea for a long time, and all errors that were filed against this behavior were constantly fixed in an unassigned state. Here is one example .
I doubt that this behavior will change; I hope that this is not so.
If you want ridiculously long variable names, you need to either turn off the right margin or make it ridiculously long. Or change any configuration, as a result of which things will be formatted differently.
Personally, I asked all the relevant ALWAYS things so that I do not have something formatted in one direction, but something formatted in a different way. Consistency is most important in a large code base.
Idea's VCS tools are extremely powerful and unmatched in any other IDE. You can easily see what has changed and exclude them from any commits or fix them as you want.
The idea has a checkbox for commit for all supported version control systems.
Jarrod roberson
source share