-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Kanin edited this page Jan 8, 2026
·
3 revisions
A simple VS Code extension that adds "New Python Package..." to the Explorer context menu. Right-click a folder, pick a name, and you get a proper Python package with __init__.py ready to go.
- Quick package creation - Right-click any folder, select "New Python Package..."
-
Custom
__init__.pycontent - Set up default content with variables - Additional file generation - Automatically create related files based on rules
-
Variable system - Use
${name:pascal}and similar transforms in your templates -
Parent package support - Auto-create
__init__.pyin parent directories - Template support - Use snippets or template files for more complex setups
- Install from the VS Code Marketplace
- Right-click any folder in the Explorer
- Click "New Python Package..."
- Type your package name
- Done!
- Settings - All the configuration options
- Variables - The variable system and transforms
- Additional Files - Setting up automatic file generation
- Examples - Real configs you can copy
{
"new-python-package.initFileContent": "\"\"\"${name:pascal} package.\"\"\"",
"new-python-package.openFilesAfterCreation": true,
"new-python-package.ensureParentPackages": true
}