Evaluate mathematical expression in VSCode

1 min read  •  12 Oct 2022
view-count
evaluate-math-expressions-vscode

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.
keybinding-for-evaluation
  • Press on the keybinding and add your desired combination of keys.
evaluation-keybinding-final

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