Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Math SimplifierNew to Visual Studio Code? Get it now.
Math Simplifier

Math Simplifier

Rasmus Göransson

|
1 install
| (0) | Free
Parses and simplifies mathematical expressions with optional step-by-step history.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Math Simplifier

A VS Code extension that parses the current selection as a mathematical expression and performs simplifications by evaluating constant sub-expressions and applying algebraic rules.

Features

  • Quick Simplify — Replace selection with simplified expression instantly (Ctrl+Shift+M)
  • Simplify with History — Shows detailed step-by-step simplification process in a side panel (Ctrl+Shift+Alt+M)
    • Granular phases: Original → Constant Evaluation → Core Simplification → Full Algebraic Simplification → Final Result
  • Powered by mathjs — supports a wide range of expressions, variables, trig functions, etc.

Supported Operations

  • Constant folding (2 + 3 * 4 → 14)
  • Combining like terms (3x + 5x → 8x)
  • Basic algebraic identities
  • Trigonometric and constant evaluation (sin(π/2) → 1)
  • Parentheses handling and pretty printing

Commands

Command Keyboard Shortcut Description
Simplify Math Expression Ctrl+Shift+M Simplify in place (no history)
Simplify Math Expression (with History) Ctrl+Shift+Alt+M Show granular simplification steps

Installation & Development

Prerequisites

  • Node.js (v18 or higher)
  • Visual Studio Code

Setup

  1. Clone or download this repository
  2. Open the folder in VS Code
  3. Run in terminal:
    npm install
    
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft