Sublime Text plugin for performing quick inline calculations with a simple keypress (Alt+C).
- Total 19K
- Win 11K
- Mac 5K
- Linux 3K
|Nov 28||Nov 27||Nov 26||Nov 25||Nov 24||Nov 23||Nov 22||Nov 21||Nov 20||Nov 19||Nov 18||Nov 17||Nov 16||Nov 15||Nov 14||Nov 13||Nov 12||Nov 11||Nov 10||Nov 9||Nov 8||Nov 7||Nov 6||Nov 5||Nov 4||Nov 3||Nov 2||Nov 1||Oct 31||Oct 30||Oct 29||Oct 28||Oct 27||Oct 26||Oct 25||Oct 24||Oct 23||Oct 22||Oct 21||Oct 20||Oct 19||Oct 18||Oct 17||Oct 16||Oct 15|
- Author: Chiel Robben
- License: MIT
- Website: http://pephers.org
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.
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!
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.
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:
~/Library/Application Support/Sublime Text 2/Packages/ ~/Library/Application Support/Sublime Text 3/Packages/
%APPDATA%/Sublime Text 2/Packages/ %APPDATA%/Sublime Text 3/Packages/