Openplanet AngelScript language support for Sublime Text
View the Project on GitHub clankercode/lsp-openplanet-sublime
Verified on Linux x86_64 on 2026-10-19. This is evidence for the surfaces listed here, not a claim that every server feature or supported OS was exercised.
/tmp/lsp-sublime-research/sublime_text.4070-2.16.0, commit b51e5d8aadec452ff61275d4d6e34f697302201c./home/xertrov/.local/bin/openplanet-lsp --lsp. No full server builds were run.st_package_reviewer 1.4.0 from commit 406c008ab8551a3eda62c5388bdd0ab1dba5e9f9, with the SublimeLSP menu checker: no failures, no warnings. Receipt.9b659f951a605b1bfb3c769bbce8048a8de3d0d7. Machine-readable CI receipt. The CI workflow tests package logic and metadata, not native GUI interaction.The screenshot was captured with ImageMagick import -window root from our own 1440×1000 Xvfb display. It is the actual Sublime editor, including its real diagnostics panel and inline annotation, with no HTML recreation, painted diagnostics, or compositing. The sample is an original minimal plugin in this repository, dedicated under both public-domain licenses; mesage is deliberately misspelled.
A temporary harness reads LSP’s actual session/buffer diagnostics. scripts/editor_smoke.py exercises the diagnostic lifecycle inside Sublime:
undefined identifier \mesage`` diagnostic.message; verify the diagnostic clears.info.toml; verify it is attached with TOML language ID.Machine-readable editor receipt. The harness uses explicit exceptions rather than Python assert: Sublime’s optimized Python host disables assertions. It restores the example in memory and never saves its edits to disk.
/tmp directory and create its Data directory.https://packages.sublimetext.com/channel_v4.json into Data/Lib/python314: mdpopups 5.1.2, bracex 3.1, wcmatch 11.1, typing-extensions 4.16.0, orjson 3.13.0, and pygments 2.21.0. Package Control was downloaded but disabled in the temporary profile; this was a manual harness install, not a verified Package Control end-user install.Data/Packages/LSP-openplanet; verify the folder name. Ensure openplanet-lsp is executable on PATH or set server_path in User settings.GDK_BACKEND=x11 and a private XDG_RUNTIME_DIR; a private dbus-run-session avoided desktop-session interference in this environment. Open examples/diagnostics and its Main.as in that portable editor.Main.as, wait for real diagnostics, then copy scripts/editor_smoke.py into Data/Packages/User/. Read /tmp/lsp-sublime-smoke.json; a real passing receipt contains nonempty initial and final diagnostics, empty corrected diagnostics, and an attached TOML manifest.DISPLAY=:<your-display> import -window root screenshot.png. Remove temporary harnesses and terminate only the processes/displays you started.The clean-start smoke also confirms the source is sent with language_id: angelscript. A symlinked temporary-directory run (TMPDIR=/proc/self/root/tmp) passed all 18 tests after resolving expected test paths, covering the macOS /var alias behavior.
Real editor testing found mixed-version syntax inheritance; a red/green regression test was added and the grammar now includes the built-in C++ scope. Independent API review found and fixed ClientConfig access, PATH normalization, crossed syntax/file selection, and advertising additional loose roots. The local registry checker led to moving shared code into lib/, removing generated Package Control metadata from source, and aligning the settings menu.