Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>LAMDA filesNew to Visual Studio Code? Get it now.
LAMDA files

LAMDA files

Preview

Christian Rab

|
1 install
| (0) | Free
Outline, folding, highlighting and pylamda checks for LAMDA molecular data files
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

LAMDA files for VS Code

Support for files in the LAMDA format (Leiden Atomic and Molecular Database), as used by RADEX and ProDiMo.

Features

  • Outline and breadcrumbs: molecule, levels, radiative transitions, collision partners and notes.
  • Folding, sticky scroll of the column headers, and syntax highlighting.
  • Hover on a level number, rate value, frequency or partner ID: level energy and quantum numbers, temperature, computed values, partner name.
  • Go to definition (F12) from a level number to its level row.
  • Inlay hints: partner names after partner IDs, optionally the temperature of each rate.
  • Checks with pylamda while typing and on save, in the Problems panel.
  • Status bar: CO · 41 lev · 40 lin · 4 partners.

All features except the checks work without pylamda.

Setup

For the checks, install pylamda (pip install pylamda). If it is not on the PATH (e.g. in a conda environment), set lamda.pylamda.path to the full path, e.g. ~/miniforge3/envs/PYLAMDA/bin/pylamda.

A file is a LAMDA file if its first line is !MOLECULE (or !ION, !ATOM), if its name matches *lamda*.dat or *lambda*.dat (any case), or if it ends with .lamda. For other files, use Change Language Mode → LAMDA, or files.associations.

Settings

Setting Default Meaning
lamda.pylamda.enable true Check LAMDA files with pylamda.
lamda.pylamda.path pylamda The pylamda executable, or a Python interpreter.
lamda.pylamda.args [] Extra arguments for pylamda check, e.g. ["--physics"].
lamda.pylamda.run onType onType: while typing; onSave: only on open and save.
lamda.pylamda.delay 800 Pause in typing (ms) before the check.
lamda.pylamda.maxLinesOnType 100000 Larger files are checked only on open and save.
lamda.inlayHints.partnerNames true Partner name after a partner ID.
lamda.inlayHints.temperatures false Temperature before each rate value.
lamda.outline.maxRows 200 Rows listed one by one in the outline.

Development: see CONTRIBUTING.md.

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