Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Auto__init__New to Visual Studio Code? Get it now.
Auto__init__

Auto__init__

Hamolicious

|
1,005 installs
| (0) | Free
Automatically fills in the __init__ method using the provided arguments
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

auto__init__

A VSCode extension that will automatically fills in the __init__() method using the provided arguments GIF preview of the extension

Features

Fills out the __init__() method with the passed in arguments

class SomeClass:
	def __init__(self, arg1, arg2, arg3):
		self.arg1 = arg1
		self.arg2 = arg2
		self.arg3 = arg3

How to use

Type out a class like so:

class SomeClass:
	def __init__(self, arg1, arg2, arg3):

and leave the cursor somewhere in the vicinity of the dunder method

Then open the command pallete in VSCode and type "Fill init", hit enter and the class will be filled in... alternatively, you can asign a keybind to the command and use a keybind to fill in the class.

Requirements

currently not applicable

Extension Settings

  • auto--init--.maxSearchSize : The maximum amount of lines to search for a __init__ method (centered around the cursor)

Known Issues

currently not applicable

Release Notes

0.1.2

Added and implemented a settings system

0.0.1

Initial release of auto--init--

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft