TupiCalc is a Visual Studio Code extension that provides real-time calculation of mathematical expressions within your code comments.
- Automatically calculates mathematical expressions in code comments
- Displays results inline without modifying your code
- Supports basic arithmetic operations and common mathematical functions
- Can be easily toggled on/off
This extension requires Visual Studio Code version 1.60.0 or higher.
This extension contributes the following settings:
tupicalc.isDisabled
: Enable/disable the TupiCalc extension.
-
Install the TupiCalc extension from the VS Code Marketplace.
-
Open a file in VS Code.
-
Type a mathematical expression in a code comment, for example:
// 2 + 2 = ?
-
The extension will automatically calculate the result and display it inline:
// 2 + 2 = 4
To toggle the extension on/off:
- Open the Command Palette (Ctrl+Shift+P or Cmd+Shift+P)
- Type "Toggle TupiCalc Extension" and select it
- Complex mathematical functions may not be supported.
- Basic arithmetic operations support
- Inline display of results
- Toggle functionality
- Added icon to the extension
- Changed readme file
- Fixed issue with toggling extension
- Added support for decimal numbers
- Decreased engine version to 1.93.0
If you have suggestions for improvements or encounter any issues, please file an issue on our GitHub repository.
This extension is licensed under the License.
Enjoy calculating with TupiCalc!