LPC Helper
FluffOS apply/efun docs integration for VS Code.
Features
- Hover on efun/apply names to show a short summary and doc link.
- Command+Click (Go to Definition) opens the related FluffOS doc URL.
- Manual command to fetch the latest docs and keep a backup.
- Fetches both English and Chinese docs and matches VS Code UI language.
- Summaries are extracted from the doc page Description/描述 section.
- Synopsis/语法 is also captured and shown in hover.
Try it
- Open this folder in VS Code.
- Press F5 to run the extension in an Extension Development Host.
- Create a
.lpc file and hover or Command+Click on interactive or remove_call_out.
Data
lpc-docs.json is shipped as an empty container; run the update command to build it from the website.
Updating docs
Run LPC Helper: Update FluffOS Docs from the Command Palette.
Settings:
lpcHelper.autoCheckForUpdates: prompt to fetch docs when the interval elapses.
lpcHelper.updateIntervalHours: hours between update prompts.
Updated docs and backups are stored in VS Code's global storage for the extension.
CLI fetch
You can also generate lpc-docs.json directly:
node scripts/fetch-docs.js
| |