Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Psi ConfigurationNew to Visual Studio Code? Get it now.
Psi Configuration

Psi Configuration

H8IO

|
1 install
| (0) | Free
Ψ (Psi), the configuration format of cfg: highlighting, the loader's own syntax errors, outline, folding, go to the key a substitution refers to, completion
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Ψ (Psi) for VS Code

build

A VS Code extension for Psi, the configuration format of cfg: files .psi, .ψ and .Ψ. It works on the web too (vscode.dev, github.dev): it needs no Java.

Features

  • Syntax highlighting. Substitutions, calls in quotes ({#env(…)}), escapes and the markers of a block string are coloured inside values, and a key is told from a value the way the format tells them: url: http://host:8080 is one value.
  • Syntax errors as cfg-psi itself reports them, with its messages and hints. It is the same parser, compiled to JavaScript (@h8io/psi).
  • Outline, and folding of maps, sequences, blocks opened by indentation, block strings and comments.
  • Go to the keys a substitution refers to, $server.port or "{$server.port}", relative ones ($.port, $..host) included. Completion of keys in a substitution, and of directive names after #.
  • // and nested /* */ comments, bracket and quote matching.

What it does not see

  • Errors that only directives and substitutions find: an unknown directive, a missing #include, a substitution that finds nothing, an error a late call's handler reports. The editor checks the syntax alone (check), reading no file and running nothing.
  • A marker or a formatter that plain Psi does not know is a warning, not an error: it may be one the application registers on its own loader.
  • A substitution is looked up in the file it is written in. What another source, an include, #prop or #env would bring is not found, and a path that finds nothing is not marked. A relative path in a file that is included counts from where it is included, which the file does not know: the editor counts it from the file's own root.

Installing

From the VS Code Marketplace, as h8io.psi. Or take the .vsix of a GitHub release, or build it (below), and install it with Extensions → ⋯ → Install from VSIX…; VSCodium takes it so as well. It needs VS Code 1.90 or later.

Building

npm ci
npm test              # the lexer, the parser, the features, the TextMate grammar
npm run check         # types
npm run package       # psi-<version>.vsix

Press F5 in VS Code with this folder open to try it in an Extension Development Host (after npm run build).

License

Apache License 2.0, as cfg's.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft