Description
In version 3.0.0, the behavior of the aforementioned configuration was adjusted:
- Change the default value of the
objectscript.autoAdjustName
setting tofalse
. Now that we have an index of the workspace, we no longer require that a document's name match the file path for the extensions to find it. This setting only affects files that are copied or moved. New files will still have the Class or ROUTINE header generated upon file creation.
However, this change seems to have led to unexpected side effects in client-side editing:
Problem 1: When creating a blank file, the plugin may automatically generate a blank class definition.
Problem 2: When saving server code to disk using Ctrl+S in the Server Explorer, the plugin may unexpectedly modify CLASS package names or ROUTINE names.
Problem 1 may be acceptable, but Problem 2 is not, as it modifies existing code without explicit user consent. This behavior risks users unknowingly committing incorrect code if they fail to notice the altered package name.
Could you confirm if this is the intended behavior and provide some insight into the reasoning behind it?