-
Notifications
You must be signed in to change notification settings - Fork 14
Description
When using the Code Tidy extension together with the Git Source Control for InterSystems extension, the settings page displays a warning indicating that the current extension configuration is not recommended. However, Code Tidy intentionally registers itself as a secondary extension, which allows Git Source Control to function correctly within the namespace.
Despite the configuration being valid, the warning continues to appear. This misleads users into changing the setting, which then breaks Code Tidy’s intended behaviour.
Expected Behaviour
If Code Tidy is installed and has correctly registered itself as a secondary extension, the settings page should not display the warning.
Actual Behaviour
The warning is always shown, even when the configuration is valid due to Code Tidy being installed, and Git Source Control works as the Source Control extension.
Steps to Reproduce
- Install and Configure Git Source Control for InterSystems.
- Install and Configure Code Tidy.
- Setup the Code Tidy extension by executing
do ##class(pkg.isc.codetidy.Utils).SetupExtension() - Open the extension settings for Git Source Control.
- Observe that the warning is displayed even though the configuration is correct.
Impact
Users may mistakenly change a valid configuration, resulting in Code Tidy no longer functioning as designed.
Proposed Fix
Add logic to detect if Git Source Control is installed and registered as a secondary extension alongside Code Tidy, and suppress the warning accordingly.