An alternative for autoAdjustName#1563
An alternative for autoAdjustName#1563hsyhhssyy wants to merge 2 commits intointersystems-community:masterfrom
Conversation
|
Might be a bug: when you select “Create, Copy and Move” (or set AutoAdjustName to yes as it works now) and drag-and-drop to move a file from one workspace folder to another, the file’s contents stay the same. Might be a bug: when the file's first line is comment in ///, the adjusted class definitions will be placed incorrectly when saving from new file. (I’ll open a new issue for this after the dust has settled on the autoAdjustName issue.) |
|
Hi @hsyhhssyy, I appreciate the PR but after reviewing this with another maintainer we've decided to reject it. We think it's desirable for the stubs to always be generated for new files. Since the stubs are not auto-saved, you can remove them using |
This PR fixes #1559
We could turn autoAdjustName into a selectable setting.
The default option, Create, would adjust names only when a file is created—matching the current behavior when the flag is set to false.
Choosing Create, Copy, and Move would mimic the behavior of true.
Finally, selecting Never would leave files on disk exactly as they are, which is the outcome I personally prefer.