GitPedia

Lammps vscode

VSCODE extension for language support of LAMMPS scripts

From ThFriedrich·Updated June 22, 2026·View on GitHub·

This extension for Visual Studio Code provides language support for LAMMPS (Molecular dynamics Software) Scripts. This package is being synchronised with the Lammps documentation through a continuous integration pipeline on a monthly schedule to keep the keyword lists and embedded command documentations up to date. The project is written primarily in TypeScript, distributed under the GNU General Public License v2.0 license, first published in 2019. Key topics include: lammps, syntax-highlighting, treeware, vscode-extension.

Latest release: v1.9.4v1.9.4 (Release for Archiving and DOI)
March 14, 2026View Changelog →

LAMMPS Language Extension for VS Code

vsm-version
Visual Studio Marketplace Last Updated
vsm-installs
SYNC
GitHub
Treeware (Trees)
DOI

This extension for Visual Studio Code provides language support for LAMMPS (Molecular dynamics Software) Scripts.
This package is being synchronised with the Lammps documentation through a continuous integration pipeline on a monthly schedule to keep the keyword lists and embedded command documentations up to date.

Features

Syntax/Keyword Highlighting

Syntax Highlighting

  • Syntax Highlighting for Keywords, Variables and Data Types
  • Folding possible between Markers #[ and #]
  • Recognizes .lmp, .lmps and .lammps file extensions and files beginning with "in."

Embedded Offline Documentation

Embedded Offline Documentation

  • Right click on a command allows to open a documentation page inside vscode

Autocompletion

Autocompletion

  • Completion suggestions with corresponding information are displayed
  • Functionality can be turned off
  • Different information-display options possible

Hover information

Hover

  • Information about Lammps commands are displayed when hovering over them
  • Appearance of the hover panel is customisable

Task Provider

Tasks

  • Different preconfigured run tasks can be executed
  • Path to Lammps executable must be set in the extension's settings
  • Tasks of "type": "lmps" can also be configured manually in a tasks.json file

Linting

Lint

  • Set of functions that points out problems before runtime
  • So far implemented:
    • checking for files and paths on read- and write commands
    • checking for unbalanced/non-closed brackets
    • checking for exceeding maximum # of group definitions
  • To be extended in the future

Simulation Dashboard

Dashboard

  • Shows system information like CPU,GPU(Nvidia only) and memory usage
  • interactive 3D Visualisation of atomic dumps
  • interactive plots of lammps log file data
  • automatically updating plots for easy live observation of simulation status

Treeware License

This package is Treeware. If you find this extension useful, then we ask that you 🌱 buy the world a tree to thank us for our work. By contributing to the Treeware forest you’ll be creating employment for local families and restoring wildlife habitats.

Contributors

Showing top 5 contributors by commit count.

View all contributors on GitHub →

This article is auto-generated from ThFriedrich/lammps_vscode via the GitHub API.Last fetched: 6/28/2026