Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Simple CalculatorNew to Visual Studio Code? Get it now.
Simple Calculator

Simple Calculator

Jona Wessendorf

|
306 installs
| (0) | Free
a simple calculator inside vs code
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Simple Calculator README

A very basic extension to add a calculator to vs code.

Features

This extension evaluates mathematic expressions using the mathjs module. The following features are available:

  • Basic calculation (e.g. (12/4)^5 - 12)
  • Conversion of units (e.g. 6 feet to m)

Tip: You can also save frequently used values to a variable (e.g. amount = 42). You can use the amount variable in all following expressions. Use the Reset command to clear all saved values.

Commands

  • calculator.evaluate: Opens the Calculator
  • calculator.reset: Resets the Calculator

Extension Keybindings

  • Ctrl+Alt+E: Open Calculator
  • Ctrl+Alt+C: Reset Calculator

Extension Settings

  • calculator.saveToClipboard: enable/disable saving result of calculation to clipboard
  • calculator.disableResultNotifications: enable/disable showing a notification with the result

Known Issues

No known issues yet :)


Enjoy using my extension! Constructive feedback is welcome.

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