Updated: August 26, 2025
Current Version: 0.1.8
Status: Stable
Plugin type: edit
Plugin icon:
How it works:
This plugin provides a simple GUI editor for Sigil's
env-vars.txt file, which is a new feature introduced in Sigil 2.6.2.
Normally, editing this file requires manual text editing, which can be error-prone. With EnvVarEditor, you can easily view, add, remove, and update supported environment variables directly from within Sigil.
The plugin:
- Lists all known Sigil environment variables with proper input widgets (checkboxes, text fields, spinboxes).
- Supports validation of values (e.g., numeric ranges, valid hex colors).
- Allows removing variables entirely from env-vars.txt if they are not needed.
- Preserves any custom or unknown entries that already exist in the file.
- Prints a short summary of what was written back to the file after saving.
Installation:
1. Select Manage Plugins from the Plugins menu. In the Manage Plugins dialog box, select
Use Bundled Python, if it isn't already selected. (If your Sigil version doesn't have a
Use Bundled Python option, click one of the Auto buttons to detect the path or Set to manually select the Python interpreter path.)
2. Click Add Plugin and select
EnvVarEditor_v0.X.Y.zip. This will install the EnvVarEditor plugin, which you can then run via Plugins > Edit > EnvVarEditor.
Issues:
At this stage no major issues are known. Please report bugs or suggestions in this thread.
Keep in mind that some values will be validated (e.g., integers must be within allowed ranges, colors must be in the format
#rrggbb). Invalid values will trigger a warning message and will not be saved until corrected.
OS Requirements:
Windows/Linux/OS X.
Tested on Windows 10 and 11 with Sigil 2.6.2 prerelease. Should also work on Linux and macOS.
*** Linux users will have to make sure that the PySide6 module is present if it's not already. ***
Sigil Requirements:
Minimum version of Sigil: 2.6.2
Change Log:- v0.1.0
- First public release
- v0.1.5
- Fixed: Removal of variables from the file that do not have values entered in the dialog box
- Added: Support for unknown environment variables in the env-vars.txt file
- Added: In Sigil older than 2.6.2, informs the user about Sigil environment variables that are currently set in the system
- v0.1.6
- Added: Shows the status of Sigil's environment variables that were set in the system outside of the env-vars.txt file when the application was launched.
- v0.1.7
- Added: Vertical scroll bar
- v0.1.8
- Fixed: Improved handling of comments that contain the equal sign
Credits/Thanks:
DiapDealer, KevinH, Doitsu – for testing and suggestions
License/Copying: GNU LGPL Version 2 or Version 3 your choice. Any other license terms are only available directly from the author in writing.