Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>MCNP SupportNew to Visual Studio Code? Get it now.
MCNP Support

MCNP Support

Ryan Pease

|
2,943 installs
| (2) | Free
Language Server to aid with MCNP input file developement
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

MCNP Language Server

A language server for Los Alamos' Monte Carlo N-Particle (MCNP) Transport Code. The language server provides helpful feedback for developing MCNP input files. The features are intended to provide an IDE typical for more standard languages (i.e. Python, C++, etc.).

The project currently has client support for Visual Studio Code.

Features

  • Synatx highlighting
  • General Surface Card error highlighting
  • Shorthand error highlighting

Installation

  • Edit VS Code User Settings
  • For 1-to-1 MCNP comparisons, your user settings will have to be edited.
    1. Open Settings
      • Ctrl+, or
      • File -> Preferences -> Settings
    2. Open User settings.json
      • In upper right corner of settings menu, click the Open Settings (JSON) button
    3. Add the below settings "[mcnp]": { "editor.detectIndentation": false, "editor.tabSize":8 }
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft