Pattern Maker applies software patterns on your source code automatically. It refactors your code so that your classes implement certain paradigms. Pattern Maker doesn't just insert new code, it also transforms your code so that effects are reflected on your codebase. It deals with mundane tasks for you so that you can speed up development and focus on more important parts.
It works only on
Right now it has only singleton pattern implemented, more patterns are planned to be added.
Online demo is available.
To use Pattern Maker, just choose a pattern and a class. Pattern Maker will handle the rest for you. It can be accessed from quick actions or it's tool window.
In your code, select a class name (identifier of the class declaration). Open quick actions by pressing
Tool window is located on
Options are located on
Please report bugs and tell your suggestions in the Q&A, or email email@example.com, any kind of feedback is highly appreciated.
You can support this extension on Patreon.
Notice: This extension uses an online error tracker. It can be disabled in the options if you have privacy concerns.