Super Calculator
Sublime Text plugin for performing quick inline calculations with a simple keypress (Alt+C).
Details
Installs
- Total 20K
- Win 11K
- Mac 5K
- Linux 3K
Jan 15 | Jan 14 | Jan 13 | Jan 12 | Jan 11 | Jan 10 | Jan 9 | Jan 8 | Jan 7 | Jan 6 | Jan 5 | Jan 4 | Jan 3 | Jan 2 | Jan 1 | Dec 31 | Dec 30 | Dec 29 | Dec 28 | Dec 27 | Dec 26 | Dec 25 | Dec 24 | Dec 23 | Dec 22 | Dec 21 | Dec 20 | Dec 19 | Dec 18 | Dec 17 | Dec 16 | Dec 15 | Dec 14 | Dec 13 | Dec 12 | Dec 11 | Dec 10 | Dec 9 | Dec 8 | Dec 7 | Dec 6 | Dec 5 | Dec 4 | Dec 3 | Dec 2 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 1 | 0 | 0 | 0 | 1 | 0 | 3 | 0 | 6 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 2 | 0 | 1 | 1 | 1 | 0 | 0 | 2 | 1 | 1 | 0 | 2 | 1 | 2 | 2 | 1 | 0 | 1 | 2 | 0 | 1 | 1 | 0 | 4 | 0 | 1 | 0 | 1 |
Mac | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 2 | 0 | 3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 |
Linux | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 2 | 0 |
Readme
- Source
- raw.githubusercontent.com
Super Calculator
- Author: Chiel Robben
- License: MIT
- Website: http://pephers.org
About
Super Calculator is a plugin for Sublime Text 2 and Sublime Text 3 which lets you do inline calculations with a few keypresses. This is useful for example to subtract paddings from your widths in your CSS code.
Usage
All you need to do is to press Alt+C
and Super Calculator will select the mathematical expression closest to the cursor position so you can review what is going to be calculated. A second time Alt+C
calculates the result and inserts it right away. Nice!
Configuration
By default, Super Calculator rounds the result down to two decimals. However, you can specify the number of decimals you would like in the user settings file for Super Calculator. The settings files can be found by navigating to Preferences -> Package Settings -> Super Calculator
.
Installation
With Package Control: The easiest way to install Super Calculator is by using the Package Control plugin.
Without Git: Download the latest source from GitHub and copy the Super Calculator folder to your Sublime Text “Packages” directory.
With Git: Clone the repository in your Sublime Text “Packages” directory:
git clone https://github.com/Pephers/Super-Calculator.git
The “Packages” directory can be found in the following locations:
OS X:
~/Library/Application Support/Sublime Text 2/Packages/ ~/Library/Application Support/Sublime Text 3/Packages/
Linux:
~/.config/sublime-text-2/Packages/ ~/.config/sublime-text-3/Packages/
Windows:
%APPDATA%/Sublime Text 2/Packages/ %APPDATA%/Sublime Text 3/Packages/