Luma Language Support for VS Code
This source extension provides .luma syntax highlighting, comment toggling,
automatic quote/parenthesis pairing, and indentation for Luma blocks. It does
not provide a language server, completion, or diagnostics.
Install from this repository
From this directory, package the extension and install the generated VSIX:
npx --yes @vscode/vsce package
code --install-extension ./luma-language-0.1.0.vsix
Restart or reload VS Code, then open a .luma file. To uninstall it, use the
Extensions view in VS Code or run:
code --uninstall-extension sschuman.luma-lang-vscode
The extension is not yet published to the Visual Studio Marketplace.
Publish to the Marketplace
Publishing uses GitHub Actions OIDC; no Marketplace token is stored in the
repository.
- Sign in at Marketplace publisher management
and create a publisher with the ID
sschuman. This must match publisher
in package.json. If that ID is unavailable, choose another ID and update
package.json before continuing.
- In that publisher's Trusted Publishing settings, create a policy with:
- Policy name:
Luma GitHub Actions
- Repository owner:
sschuman
- Repository:
luma
- Workflow:
publish-vscode.yml
- Environment: leave blank
- In the GitHub repository, open Actions → Publish VS Code extension and
choose Run workflow on
master.
The workflow publishes the version in package.json. For later releases,
increment that version and push the change before running the workflow again.
After publication, install it with:
code --install-extension sschuman.luma-lang-vscode