Description:
When attempting to create a new policy using the Cloud Code extension, the expected behavior is to generate a new XML file with the default template for the selected policy. However, the issue observed is that a blank XML file is created instead of the expected default XML template for the policy.
Repro steps:
Open Visual Studio Code.
Ensure that the Cloud Code extension is installed and activated.
Navigate to the desired directory in the Explorer view.
Right-click in the Explorer view or within the editor area to open the context menu.
Select the option to create a new policy file.
Observe that a new XML file is created, but it is blank instead of containing the default XML template for the selected policy.
Expected behavior:
When creating a new policy file using the Cloud Code extension, the default XML template for the selected policy should be generated automatically in the newly created file.
Version information
Description: When attempting to create a new policy using the Cloud Code extension, the expected behavior is to generate a new XML file with the default template for the selected policy. However, the issue observed is that a blank XML file is created instead of the expected default XML template for the policy.
Repro steps:
Expected behavior: When creating a new policy file using the Cloud Code extension, the default XML template for the selected policy should be generated automatically in the newly created file.