Skip to content

The VSCode CodeMath Extension is a powerful tool that enables mathematical calculations and evaluations directly within Visual Studio Code.

License

Notifications You must be signed in to change notification settings

otnansirk/vscode-codemath-extension

Repository files navigation

demo for usage codemath

Code coverage

Statements Branches Functions Lines

CodeMath - Save time and effort calculating math problems | Product Hunt

VSCode CodeMath Extension

The VSCode CodeMath Extension is a powerful tool that enables mathematical calculations and evaluations directly within Visual Studio Code.

Usage

To use the CodeMath Extension, follow these steps:

  1. Install the Extension: Open the Extensions view in VS Code by pressing Ctrl+Shift+X (Windows/Linux) or Cmd+Shift+X (Mac). Search for the extension by name, "CodeMath", and click on "Install" to install it.

  2. Open a file or create a new one in Visual Studio Code.

  3. Type a mathematical expression: In the editor, type the mathematical expression you want to evaluate. End the expression with the = symbol. For example, 2 + 2 =.

  4. View the calculation: After typing the = symbol, the CodeMath Extension will calculate the result and display it in the editor immediately after the = symbol. For example, 2 + 2 = 4.

  5. Evaluate and write the result: To accept and write the calculated result, press the Enter key. The result will be written to the right of the = symbol. For example, 2 + 2 = 4.

Note: CodeMath supports various mathematical operations, including basic arithmetic (+, -, *, /) and advanced functions (sin, cos, tan, log, %, sqrt, ^, max, min, pi, etc.).

Features

The CodeMath Extension offers the following features:

  • Mathematical expression evaluation
  • Support for basic arithmetic operations (+, -, *, /)
  • Support for advanced mathematical functions (sin, cos, tan, log, %, sqrt, ^, max, min, pi, etc.)
  • Interactive calculations within the editor

Reporting issues

If you encounter any issues, bugs, or have suggestions for improvements, please open an issue on the GitHub repository of the CodeMath Extension: Link to GitHub Issues

Please provide detailed information about the problem you encountered and steps to reproduce it. This will help us investigate and resolve the issue more effectively.

Contributing

Contributions to the CodeMath Extension are welcome! If you would like to contribute, please follow these steps:

  1. Fork the repository and clone it to your local machine.
  2. Make the necessary changes or additions.
  3. Write tests to ensure the new features or bug fixes work correctly.
  4. Commit your changes and push them to your forked repository.
  5. Create a pull request from your forked repository to the main repository.

Please make sure to follow the coding style and guidelines specified in the repository.

License

The CodeMath Extension is released under the MIT License. You are free to use, modify, and distribute the extension in accordance with the terms of the license.


Made with ❤️ love

About

The VSCode CodeMath Extension is a powerful tool that enables mathematical calculations and evaluations directly within Visual Studio Code.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published