Skip to content

Create __init__.py when creating new .py files with / #12047

@rik

Description

@rik

VS Code will create directories when creating files that include a /. When that file is a .py, it would be nice to create the necessary __init__.py as well.

For bonus points, it would be nice to create __init__.pyi when creating a filename ending in .pyi.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-editor-*User-facing catch-allfeature-requestRequest for new features or functionality

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions