TupiCalc
TupiCalc is a Visual Studio Code extension that provides real-time calculation of mathematical expressions within your code comments.
Features
- 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
Requirements
This extension requires Visual Studio Code version 1.60.0 or higher.
Extension Settings
This extension contributes the following settings:
tupicalc.isDisabled : Enable/disable the TupiCalc extension.
How to Use
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
Known Issues
- Complex mathematical functions may not be supported.
Release Notes
1.0.0
- Basic arithmetic operations support
- Inline display of results
- Toggle functionality
1.0.1
- Added icon to the extension
1.0.2
1.0.3
- Fixed issue with toggling extension
1.1.0
- Added support for decimal numbers
Contributing
If you have suggestions for improvements or encounter any issues, please file an issue on our GitHub repository.
License
This extension is licensed under the License.
Enjoy calculating with TupiCalc!
| |