Making Toolkits#
Toolkits contain patterns which are essentially templates that are used to automate the creation of other code in your IDE.
A Pattern is a major top-level concept in automate, used to describe coding patterns. When published, it is packaged and distributed in A Toolkit that is installed into a codebase.
You will need to have installed at least one toolkit in order to create a Draft.
Info
To make toolkits in your IDE, you will need to have the automate
plugin installed into JetBrains Rider on your machine. (see Installing plugin)
Warning
The IDE plugin is currently under-development (in the Plugin Project). Designs and plans for its development are to be found here: Prototypes-Plugin
Turn ON Authoring mode#
To create patterns using the plugin in your IDE, you will need to turn ON "Authoring Mode" to show the necessary tools.
- Open the "automate" tool window in the IDE (
View | Tool Windows | automate
) - Click on the
Settings
button to show the settings (you can also find themFile | Settings | Tools | automate
) - check "Authoring mode"
Capture a new pattern#
To create a new toolkit:
- Open the "automate" tool window in the IDE (
View | Tool Windows | automate
) - In the tool bar of the tool window, click the
Patterns
button. - Click the
New Pattern
button
Info
This pattern automatically becomes the 'active' pattern for subsequent commands.