ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Selection Evaluator

by lengstrom ALL

Evaluate mathematical expressions in selection regions inline (deprecated)

Details

  • 2017.04.22.04.07.47
  • github.​com
  • github.​com
  • 7 years ago
  • 52 minutes ago
  • 11 years ago

Installs

  • Total 3K
  • Win 2K
  • Mac 820
  • Linux 366
Sep 13 Sep 12 Sep 11 Sep 10 Sep 9 Sep 8 Sep 7 Sep 6 Sep 5 Sep 4 Sep 3 Sep 2 Sep 1 Aug 31 Aug 30 Aug 29 Aug 28 Aug 27 Aug 26 Aug 25 Aug 24 Aug 23 Aug 22 Aug 21 Aug 20 Aug 19 Aug 18 Aug 17 Aug 16 Aug 15 Aug 14 Aug 13 Aug 12 Aug 11 Aug 10 Aug 9 Aug 8 Aug 7 Aug 6 Aug 5 Aug 4 Aug 3 Aug 2 Aug 1 Jul 31
Windows 0 0 0 0 0 0 0 1 1 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0
Mac 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 1 0 1 1 2 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

Note: This is deprecated software, I no longer maintain or use it, and there are probably many issues with it.

Sublime Text Math Evaluator

Evaluate mathematical expressions in Sublime Text selection regions inline.

Use the command control + shift + m (or super + shift + m) to evaluate all mathematical expressions in selection areas.

Symbols and functions supported:

Expression Example Output Expression Example Output
+ 3 + 4 7 abs abs(4) 4
- 3 - 4 -1 trunc trunc(4) 4
* 3 * 4 12 round round(4) 4
/ 3 / 4 0.75 sgn sgn(4) 1
^ 3 ^ 4 81 E 5E4 50000
sin sin(4) -0.7568 e e 2.7182
cos cos(4) -0.6536 pi pi 3.1415
tan tan(4) 1.1578

In Action