Commit Graph

6 Commits

Author SHA1 Message Date
d05595dc74 Add VERSION file as the single source for the extension version
Mirrors testium's src/VERSION: scripts/sync-version.js copies VERSION into
package.json#version (enforcing strict semver X.Y.Z, required by the marketplace
/ Open VSX). Wired into 'npm run package' and vscode:prepublish, so the version
is always synced before a build/publish. Bump = edit VERSION.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
v0.1.0
2026-05-30 14:44:59 +02:00
5135a36fc8 Check testium version range (>= 0.2.0); add repository + LICENSE
The extension now probes '<serverPath> --version' on activation and refuses to
start (with a clear message) when testium is older than 0.2.0 — the release that
introduced 'testium lsp'. Unreadable version -> warn but proceed; binary not
found -> actionable error. Minimal component-wise comparator, no extra dep.

Also add the repository field and an EUPL-1.2 LICENSE file (Open VSX
prerequisites).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-05-30 14:31:00 +02:00
0c9d61ab56 Add extension icon derived from the testium logo
Dark editor tile + the orange testium orbital mark + a </> code cue. SVG source
kept (excluded from the VSIX), 256x256 PNG referenced via package.json icon.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-05-30 14:15:20 +02:00
3270605526 dev: add .vscode launch/tasks so F5 launches the extension host
Without launch.json, F5 in a fresh clone just prompts for a debug
environment. The 'Run Extension' configuration spawns an Extension
Development Host with this workspace loaded, with `npm: compile` as
a preLaunchTask so the extension always runs against an up-to-date
build.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-29 16:16:17 +02:00
770e4cacf1 scaffold: VSCode/VSCodium extension wrapping testium lsp
A thin LSP client that spawns `testium lsp` and forwards messages to
VSCode. All language intelligence lives in the testium repo, so this
extension only needs republishing for editor-side UX changes.

  - package.json: declares the .tum language, registers the LSP client,
    exposes testium.serverPath and testium.trace.server settings.
  - src/extension.ts: vscode-languageclient setup over stdio, surfaces a
    user-visible error if `testium lsp` can't start.
  - syntaxes/tum.tmLanguage.json: TextMate grammar embedding source.yaml
    plus tum-specific tokens for $(name), <| python |>, {% jinja %},
    {{ jinja }}.
  - language-configuration.json: comment char, bracket pairs, auto-close
    for $(/), <|/|>, {%/%}, {{/}}.
  - README.md: install (incl. testium[lsp] extra), settings, packaging
    via vsce, publish to both VS Marketplace and Open VSX (the latter
    is what VSCodium / Cursor / Gitpod use — same .vsix artifact).

Works identically on VSCode and VSCodium — no Microsoft-proprietary
API surface used.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-29 14:59:22 +02:00
c6aa6bb07a first commit 2026-05-29 13:22:37 +02:00