Fix the issue where modifying `extraFileExtensions` through `ProjectService.setHostConfiguration` in the plugin has no effect.
If the plugin is enabled before this.updateRootAndOptionsOfNonInferredProject and the project service host configuration is changed through projectService.setHostConfiguration in the plugin, enabling the plugin will result in a recursive call to loadConfiguredProject, then the outer loadConfiguredProject will finally call this.updateRootAndOptionsOfNonInferredProject with the parameters that before the plug-in was enabled.
Fixes #61302
@microsoft-github-policy-service agree
Given the short future of language service plugins in this particular architecture going forward, and the risk of breaking other plugins, I don't think we want to mess with this. This code is basically untestable (we have no idea what plugins in the wild are doing) and clearly works well enough for the plugins that are already out there.
okay, understand. It can be resolved temporarily through proxy for now.