Repository navigation
v0.1.0
First release of Config Editor (dev.caloptreyx.configeditor), requires panel >=1.2.3 (:heavy image).
Edit a server's config files through forms, or open all of its files in VS Code.
Features
- Six formats: YAML, JSON (with JSONC comments and trailing commas), TOML, Java
.properties(server.properties,eula.txt),.envand INI (.ini,.cfg) - Generated form fields: switches, validated numbers that keep large integers exact, multi-line text, nulls, TOML dates, collapsible groups, lists you can reorder, and keys you can add or remove
- Minimal-diff saving: only changed values are rewritten, so comments, quoting, indentation and CRLF line endings stay as they were. The comment above a key becomes its field's help text
- Safe writes: review the exact diff before saving, with conflict detection if the file changed on disk
- Tabs, favorites, Ctrl/Cmd+S, a config-only file browser, and a raw editor for files that don't parse
- VS Code: Open in VS Code opens the real VS Code workbench (1.138) for all of the server's files: Explorer, tabs, Quick Open, Search, command palette, breadcrumbs, minimap, and the default themes with Seti icons
How it works
- Writes go through Wings like the panel's file manager, so they create file revisions, show in the activity log and respect subuser ignored files
- Uses the panel's own file permissions:
files.read-contentto open,files.createto save; in VS Code,files.updateto rename andfiles.deleteto delete - Quick Open and Search in VS Code use the panel's Wings-side file search. Regex and whole-word searches look for the longest plain-text part of the pattern; at most 100 matches per file are listed
- VS Code ships with built-in language highlighting, themes and icons only. There is no extension marketplace, terminal, debugger or Git
- Adds about 16 MB of static files to the panel build; browsers only load them when the VS Code view is opened
- Adds one table (
dev_caloptreyx_configeditor_favorites) through its migration
Install
Upload dev_caloptreyx_configeditor.c7s.zip under Admin → Extensions, or put it in your heavy image's build/extensions/ directory and run docker compose restart web.
SHA-256: 903d46a7a0086c04ac983549df52d5e5a73e4ec39fe3018a8333d1cd7c500d7c