Skip to content

Python Durable Project function_app.py is empty when created without an open folder in VS Code (macOS) #5051

@v-ruizh

Description

@v-ruizh

OS: Mac M1 (Pro)
Build Version: 1.21.1

Repro Steps:

  1. Ensure no folder is currently opened in VS Code.
  2. Create a Python durable function project.
  3. Open the generated function_app.py file.
  4. Verify the file content.

Expect:
The function_app.py file should contain the default scaffolded code for a Python Durable Functions project.
Image

Actual:
The function_app.py file is empty, with no generated content.
Image

More Info:

  1. This issue does not reproduce on Windows x64.
  2. This issue does not reproduce if a folder is opened in VS Code and then the project is created inside that folder.

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions