Evaluate mathematical expression in VSCode
1 min read • 12 Oct 2022
Steps to evaluate a mathematical expressions in VSCode
- Select the expression
- Press Command + Shift + P
- Write Evaluate expression and select first one
- Done!
Bonus Tip: To pace it up, you can also add a custom key binding to quicky evaluate the expression.
- Press Command + Shift + P
- Write Evaluate expression and click the icon on the right.

- Press on the keybinding and add your desired combination of keys.

Now you can simply select the mathematical expression and press the keybinding to evaluate the expression.