Open
Conversation
theredwillow
commented
Mar 23, 2026
| ] | ||
| ``` | ||
| ## Preparing a plugin for use | ||
| To use a plugin, make sure that its main javascript file (not the entire folder) is moved to the root of the plugin location. |
theredwillow
commented
Mar 23, 2026
| "rendererPreload": "own", | ||
| } | ||
| ```bash | ||
| node create_plugin.js your_plugin_name |
Author
There was a problem hiding this comment.
Idea: Include as script in package.json.
Maybe not though, package.json is not at the root level of the repo. Adds an extra step of cd'ing into that directory specifically.
theredwillow
commented
Mar 23, 2026
| ] | ||
| ``` | ||
| ## Preparing a plugin for use | ||
| To use a plugin, make sure that its main javascript file (not the entire folder) is moved to the root of the plugin location. |
Author
There was a problem hiding this comment.
Possible stretch goal: Generating the new plugin directly in the program's plugin folder rather than/in addition to this repos?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR creates a plugin generating script.
Examples are moved directly into inline documentation inside of a template fixture. This allows
docs/creating_plugins.mdto be less verbose. Though I did add some additional clarifying language to it.