Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Lammps Syntax HighlightingNew to Visual Studio Code? Get it now.

Lammps Syntax Highlighting

ThFriedrich

|
15,783 installs
| (8) | Free
Keyword/Syntax highlighting extension for Molecular Dynamics Software LAMMPS
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Lammps language extension for vscode README

vsm-version vsm-installs SYNC GitHub Updated Plant Tree Gitter

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 informations 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 extensions settings
  • Tasks of "type": "lmps" can also be configured manually in a tasks.json file

Linting (in progress)

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 (beta feature)

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.

  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2023 Microsoft