/mathpad

Interactive scratchpad calculator for VS Code

Primary LanguageTypeScriptMIT LicenseMIT

This is a fork of Mathpad that adds a few features:

  • Added Mathpad:Enable/Disable command for the active file

  • Added Mathpad:Replace for replacing a selection with the result of its evaluation

  • Added Mathpad: File Patterns setting to allow finer control over which files are evaluated
    Default file patterns match *.mathpad and Untitled*
    Matching Untitled* makes using Mathpad as easy as opening a new file with Ctrl+N

  • Updated the math.js version to include bin/oct/hex support

  • Added Mathpad.library setting to allow users to add expressions and statements that get evaluated before every mathpad session

    For example if you have something like

      ```
      "Mathpad.library": [
          "the_answer = 42"
      ]
      ```
    

    then you can use the symbol the_answer in new sessions without defining it every time.