InitMate for RubyInitMate is a simple yet powerful VS Code extension for Ruby developers that helps you avoid forgetting to initialize method parameters as instance variables. When working with methods like initialize, especially those with multiple parameters, it’s easy to forget to assign them to instance variables (e.g., @name = name). This extension automates that. Features
ExamplesSimple example:Given a method like this:
The extension should update it to this:
More complex example:Given a method like this:
The extension should update it to this:
InstallationSearch for InitMate in the Extensions panel in VS Code and install it. LicenseThis extension is licensed under the MIT License. See the LICENSE file for details. |