A small scientific calculator integrated in IntelliJ.
Use it as a normal simple calculator (with advanced functions) or evaluate expressions directly from your editor. To evaluate an expression in the editor, simply select the expression and select Evaluate in the editor popup menu or simple press CTRL-E, CTRL-C.
The plugin knows math functions (add, subtract, sin, cos, acotan, ...), logical operators (||, !=, ...) and some special functions:
will set a variable so it can be used in a calculation. Ex. set(x=2) 2*x returns 4
Clears a stored variable. Ex. clear(x) will clear the variable x. Note that any calculation using x will fail until a new x has been set.
Note that the C button simply clears the textfield, while the CE button clears both the textfield and all stored values.
Awaiting suggestions to improve the calculator.