The formula engine, the rendered results, and the formula help now come from src/lib/formulas/. The editor and the renderer call this module directly. The tableFormulas contribution type is removed. - Add the tableFormulas general setting (default on) and a switch in Settings > General. When it is off, formulas show as source text. - Do not load an installed runestone.table-formulas package. Settings > Plug-ins marks it as included with RuneStone and tells the user that it can be removed. The user's files stay in place. - Translate the formula help and the error descriptions into French, Japanese, and Simplified Chinese. - Port the plugin unit tests. Test the setting and use a test-only contribution for the generic plugin lifecycle tests. - Smoke tests load only Terminal. The formula and lifecycle tests use the built-in feature and its setting. - Remove scripts/buildPlugins.mjs, the build:plugins script, and the plugin-packages requirement of the smoke runner. - Remove RuneStone_Table_Formulas from the menu audit scope. It had no menu surfaces. - Update the README, the user guides, and the developer references.
104 lines
6.1 KiB
Markdown
104 lines
6.1 KiB
Markdown
# Install and manage plugins
|
|
|
|
[RuneStone](../README.md) · [User guide](user-guide.md)
|
|
|
|
This guide explains how to install, enable, update, and remove optional plugins such as Terminal, Git, and PDF Viewer.
|
|
|
|
Manage all plugins in **Settings → Plug-ins**. The built-in browser and table formulas are part of RuneStone and are not plugins.
|
|
|
|
Plugins run with the full access of RuneStone, including your files. There is no permission sandbox, and the author field does not prove who published the plugin. Enable only code that you trust.
|
|
|
|
## Install a plugin
|
|
|
|
Get the release ZIP of the plugin, such as `runestone.terminal-<version>.zip`. Do not extract it.
|
|
|
|
1. Open **Settings → Plug-ins**.
|
|
2. Choose **Install plugin ZIP**.
|
|
3. Select one or more ZIP files. You can select up to 100 at a time.
|
|
4. Review the name, author, version, source, and destination of each plugin.
|
|
5. Choose **Install and enable**, or choose **Install** to install the plugin disabled.
|
|
|
|
RuneStone copies each plugin into its application data folder and keeps your ZIP unchanged.
|
|
The review and installation do not run plugin code.
|
|
Each package installs or fails separately. Read the result for each package.
|
|
|
|
## Enable or disable a plugin
|
|
|
|
Use the switch beside the plugin. The status shows **Enabled** or **Disabled**.
|
|
Your choice applies to all windows and stays after a restart. A new installation of RuneStone starts with all plugins disabled.
|
|
|
|
Disabling a plugin stops it and keeps its files, settings, and workspace documents.
|
|
If RuneStone asks for a restart, close all RuneStone windows and open the app again.
|
|
|
|
## Update a plugin
|
|
|
|
1. Get the new release ZIP of the plugin.
|
|
2. Open **Settings → Plug-ins** and choose **Install plugin ZIP**.
|
|
3. Select the ZIP.
|
|
4. Review the current and new versions.
|
|
5. Choose **Apply packages**.
|
|
|
|
RuneStone matches the update to the installed plugin by its ID. The update keeps the plugin settings and its enabled or disabled state.
|
|
RuneStone stops the plugin in every window before it replaces the files.
|
|
If the dialog contains an update, it shows only **Apply packages**. New plugins in the same selection install disabled.
|
|
|
|
## Uninstall a plugin
|
|
|
|
1. Open **Settings → Plug-ins**.
|
|
2. Choose **Uninstall** (the trash button) beside the plugin.
|
|
3. Read the plugin details and the deletion message.
|
|
4. Choose **Uninstall and delete files**.
|
|
|
|
RuneStone stops the plugin in every window, then deletes its installed folder.
|
|
It keeps your downloaded ZIP, the plugin settings, and your workspace documents.
|
|
If you install the plugin again, it can use the kept settings. You choose again whether to enable it.
|
|
|
|
**Cancel** changes nothing. **Disable instead** stops the plugin and keeps it installed.
|
|
|
|
## Install from a Gitea link (experimental)
|
|
|
|
Use this method when the publisher gives you a Gitea repository with a plugin ZIP attached to a release.
|
|
RuneStone downloads only the attached ZIP. It does not clone or build the repository. Other Git hosts, such as GitHub and GitLab, do not work.
|
|
|
|
1. Open **Settings → Plug-ins** and choose **Install from Git link**.
|
|
2. In **Repository link**, enter the repository root link, such as `https://git.example.com/owner/repository`.
|
|
3. In **Release tag**, enter a tag. Leave it empty to get the latest stable release.
|
|
4. For a private repository, enter a Gitea **Access token** with read access to the repository.
|
|
5. Choose **Review release**.
|
|
6. Review the package. Choose **Install**, **Install and enable**, or, for an installed plugin, **Apply packages**.
|
|
|
|
To install a prerelease, enter its tag. The release must have exactly one plugin ZIP attached. Source archives and branch links do not work.
|
|
Use HTTPS for a remote server. HTTP sends the token and the package without encryption.
|
|
RuneStone uses the token for this request only and does not save it.
|
|
|
|
## Plugin guides
|
|
|
|
| Plugin | Guide |
|
|
| --- | --- |
|
|
| Terminal | [Terminal guide](guides/terminal.md) |
|
|
| Git | [Git usage](https://git.knottywyvern.com/kwyvern/RuneStone_Git/src/branch/main/docs/usage.md) |
|
|
| Project Management | [Project Management guide](https://git.knottywyvern.com/kwyvern/RuneStone_PM/src/branch/main/project-management.md) |
|
|
| Background Slideshow | [Background Slideshow usage](https://git.knottywyvern.com/kwyvern/RuneStone_BG_Slideshow/src/branch/main/docs/usage.md) |
|
|
| Local Autocomplete | [Local Autocomplete trial guide](https://git.knottywyvern.com/kwyvern/RuneStone_LocalModel/src/branch/main/docs/trial-guide.md) |
|
|
| PDF Viewer | [PDF Viewer README](https://git.knottywyvern.com/kwyvern/RuneStone_PDFViewer/src/branch/master/README.md) |
|
|
| CSV Viewer | [CSV Viewer README](https://git.knottywyvern.com/kwyvern/RuneStone_CSV_Viewer/src/branch/main/README.md) |
|
|
|
|
## Plugin help
|
|
|
|
| Problem | Action |
|
|
| --- | --- |
|
|
| The ZIP fails review | Read the error. Get a complete release ZIP from the plugin author. |
|
|
| You have source code or a loose `plugin.json` | Get the release ZIP. You do not need to build a plugin. |
|
|
| The plugin is installed but does not work | Check its switch and any error message beside it. |
|
|
| The plugin files changed after you enabled it | Review the changed package, then enable the plugin again. |
|
|
| An update or uninstall reports a cleanup failure | Restart RuneStone, then do the action again. |
|
|
| The plugin shows **Removal incomplete** | Choose **Retry cleanup** to finish the removal. If the error names changed files, check that path first. |
|
|
| A Gitea release has no usable package | Check the release tag. Ask the publisher for a release with one attached plugin ZIP. |
|
|
| An old Browser plugin shows in the list | Uninstall it. The built-in browser keeps your profiles and bookmarks. |
|
|
| An old Table Formulas plugin shows in the list | Uninstall it. RuneStone does not run it. Your formulas stay in your files. See [Calculate with table formulas](guides/document-tools.md#calculate-with-table-formulas). |
|
|
|
|
To see the installed files of a plugin, choose **Show files** beside it. **Open plugins folder** opens the folder for all plugins.
|
|
When you report a plugin problem, include the plugin name and version, the RuneStone version, and the error text.
|
|
|
|
To create a plugin, see the [plugin development reference](plugin-development.md).
|