Compatible with
IntelliJ IDEA

10.10.2006

6 087

A small calculator integrated in IntelliJ.

The calculator has three modes: Simple A simple calculator with just the basic functions Scientific A scientific calculator with more advanced functions Expression Allows to enter an expression containing variables.

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 simply press alt F8. Remember that when debugging a program, the alt F8 function will be bound to the "Evaluate Expression" action of the IntelliJ IDEA.

The exression mode knows math functions (add, subtract, sin, cos, acotan, ...), logical operators (||, !=, ...) and some special functions: set() will set a variable so it can be used in a calculation. Ex. set(x=2)[enter]2*x[enter]returns 4 clear() 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. Awaiting suggestions to improve the calculator.

The calculator has three modes: Simple A simple calculator with just the basic functions Scientific A scientific calculator with more advanced functions Expression Allows to enter an expression containing variables.

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 simply press alt F8. Remember that when debugging a program, the alt F8 function will be bound to the "Evaluate Expression" action of the IntelliJ IDEA.

The exression mode knows math functions (add, subtract, sin, cos, acotan, ...), logical operators (||, !=, ...)
and some special functions:
set()
will set a variable so it can be used in a calculation. Ex. set(x=2)[enter]2*x[enter]returns 4
clear()
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.
Awaiting suggestions to improve the calculator.
Redid entire gui.

Extracted the expression calculator to a different mode.

Made the normal calculator modes behave more calculator alike.

Added keyboard input for most buttons.

Added numeral systems (binary, octal, decimal and hexadecimal)