Native LyX for VS CodeEdit workspace Linux x64 preview, tested initially on Ubuntu 24.04. Local desktop VS Code only. Windows, macOS, web, WSL/SSH and remote/container workspaces are unsupported. This independent integration is not an official LyX or Microsoft product. Source and support: GitHub repository, report an issue. SetupInstall LyX, standalone Node 18+, TigerVNC, Openbox, websockify and supporting tools on the machine running VS Code. Ubuntu 24.04 package names:
Install the Linux x64 VSIX using Extensions: Install from VSIX…. Run Native
LyX: Check Dependencies. Open a trusted local workspace and click a The extension discovers installed executables on PATH. Set Editing and session lifetimeClick inside LyX before typing. Use native Ctrl+S, Ctrl+Z, Ctrl+Y and Ctrl+M for save, undo, redo and math. Personal VS Code keybindings may take precedence; native menus are available. VS Code Save All, autosave, dirty dots and close prompts do not represent native buffers. Each canonical file has its own native process/private desktop. Closing its Native LyX tab requests normal LyX Quit. A saved document closes without a save question. If there is unsaved work, its real Save/Don't Save/Cancel dialog appears in a temporary native tab: Save or Don't Save completes closure; Cancel restores the document tab and its edits. Close All resolves native decisions in sequence. After normal exit, only that session's owned desktop, bridge, watchers and command pipes are closed. The broker exits after a short idle grace when no owned session processes remain. Profiles and saved snapshots stay on disk for later reopening. Switching tabs and moving editor groups do not close native sessions. Code reload and connection loss preserve live native buffers. Native LyX: Retained Sessions lists sessions left by reload, older versions or unexpected disconnects. Save/close work in LyX before Native LyX: End Session, whose confirmation explicitly permits discarding remaining buffers. Window/app shutdown or uninstall does not guarantee native save decisions; resolve documents before exiting VS Code. Reopen Editor With… → Text Editor requests normal native LyX Quit for that file's private session. If LyX asks about unsaved work, its real dialog appears in a temporary native tab: choose Save, Don't Save or Cancel there. Save/Don't Save completes the switch and stops that session's private desktop/bridge; Cancel returns to Native LyX with the buffer intact. Choosing Native LyX again starts the installed application for the same file. Other managed files and ordinary desktop LyX instances are not closed. A timeout or error preserves native work and restores the editor for inspection instead of force-quitting it. After a PC shutdown or native LyX exit, click the file again to restart LyX with its existing profile. No separate extension recovery command is required. LyX may display its usual autosave/emergency recovery dialog. Edits newer than the last successful native autosave are not guaranteed. Disk revisions observed by the watcher are available through Native LyX: Open Saved File Snapshots. Keep ordinary backups. Native external-change prompts require an explicit reload/overwrite decision; no automatic merge is provided. Preview limitations
To restore previous opening behavior, save/end native sessions, disable/uninstall
the extension and configure User guides: installation and removal, configuration, limitations, and recovery. Build and packageUse Node 22+ and npm for the locked build tools:
The package command creates a Linux x64 pre-release MPL-2.0 source and noVNC 1.7.0 source/licenses are included in the VSIX. See LICENSE and THIRD_PARTY_NOTICES.md. |