PrSM brings Unity-first .prsm scripting to Visual Studio Code with diagnostics, snippets, script exploration, and generated C# navigation.
Features
- Syntax highlighting for PrSM source files
- Snippets for common PrSM declarations and patterns
prism check --jsondiagnostics surfaced in the Problems panel- Explorer tooling for PrSM scripts inside the workspace
- Generated C# lookup for Unity and C# Dev Kit workflows
- Unity API-backed completions and script visualization helpers
Commands
PrSM: Compile Current FilePrSM: Compile WorkspacePrSM: Check Current FilePrSM: Show Generated C#PrSM: Visualize Script StructurePrSM: Graph ViewPrSM: Insert Lifecycle Block
Settings
prsm.compilerPath: explicit path to theprismbinaryprsm.unityApiDbPath: optional override for the Unity API SQLite databaseprsm.checkOnSave: run diagnostics on saveprsm.showWarnings: control warning visibility in diagnostics
Packaging
npm install
npm test
npm run package
npm run verify
npm run verify:install
npm run package now writes a VSIX under artifacts/ and verifies that the packaged dist/extension.js and bin/prism.exe exactly match the current workspace build outputs.
npm run verify checks bundled bin/prism.exe freshness and CLI behavior, while npm run verify:install installs the generated VSIX into an isolated VS Code profile and verifies the extracted manifest, bundle, and bundled compiler.