Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Mplus Syntax ToolsNew to Visual Studio Code? Get it now.
Mplus Syntax Tools

Mplus Syntax Tools

Paulina Dupin

|
8 installs
| (0) | Free
Syntax highlighting for Mplus statistical software .inp files
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Mplus Syntax Tools

Syntax highlighting and diagnostics for Mplus statistical software in Visual Studio Code.

Visual Studio Marketplace Version Visual Studio Marketplace Installs

Features

Comprehensive Syntax Highlighting for .inp and .out files:

  • Section Headers — TITLE:, DATA:, VARIABLE:, MODEL:, ANALYSIS:, OUTPUT:, PLOT:, SAVEDATA:, MONTECARLO:
  • Model Operators — BY, ON, WITH, PWITH, XWITH, IND, VIA, MOD, AT, NEW
  • Estimators — ML, MLR, MLM, WLSMV, BAYES, ULS, and more
  • Analysis Types — TWOLEVEL, MIXTURE, EFA, ESEM, RANDOM, COMPLEX
  • Functions — Mathematical (ABS, EXP, LOG, SQRT), Statistical (MEAN, VARIANCE, SUM), Distributions (NORMAL, POISSON, BINOMIAL)
  • Rotation Methods — GEOMIN, PROMAX, VARIMAX, OBLIMIN, TARGET, BIFACTOR
  • Comments — Lines starting with !
  • Strings & Numbers — Quoted text and numeric values
  • Variable Ranges — y1-y6 style notation
  • Constraint Labels — Parameter labels like (a1), (loading)

Real-time Diagnostics as you type:

  • Typo Detection — Warns about misspelled keywords (e.g., USEVARIABLE → USEVARIABLES)
  • Missing Semicolons — Flags unterminated statements

Supported Files

Extension Description
.inp Mplus input files
.out Mplus output files

Example

TITLE: Confirmatory Factor Analysis

DATA:
    FILE IS mydata.dat;

VARIABLE:
    NAMES ARE y1-y6;
    USEVARIABLES ARE y1-y6;
    CATEGORICAL ARE y1-y6;

ANALYSIS:
    ESTIMATOR = WLSMV;

MODEL:
    f1 BY y1-y3;
    f2 BY y4-y6;
    f1 WITH f2;

OUTPUT:
    STDYX;
    MODINDICES(3.84);

Installation

  1. Open Extensions in VS Code (Ctrl+Shift+X)
  2. Search for "Mplus Syntax Tools"
  3. Click Install

Or install via command line:

code --install-extension paulinadupin.mplus-syntax-tools

Requirements

No additional dependencies required. Works out of the box with any Mplus .inp or .out file.

Release Notes

1.0.2

  • Expanded keyword coverage for DATA, VARIABLE, ANALYSIS, OUTPUT sections
  • Added distribution functions and rotation methods
  • Added support for constraint labels
  • Improved README with detailed features

1.0.1

  • Added extension icon

1.0.0

  • Initial release with syntax highlighting and diagnostics

Contributing

Found a missing keyword or bug? Open an issue on GitHub.

License

MIT

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft