Giter Club home page Giter Club logo

super-calculator's People

Contributors

amirnissim avatar kronuz avatar pephers avatar robsonsobral avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

super-calculator's Issues

Option to omit unnecessary decimal places

An option to omit unnecessary decimal places would be great. If for example one has set "round_decimals": 4, the result of divisions will always have 4 number of digits after the decimal point, e.g. 10/2 = 5.0000. I think that is not always desirable, because most people would expect 5 as result in this case, without the 4 zeroes after the decimal point.

I see that in your usage.gif you get 20.00 as result and then you manually delete the last three characters to get 20. Wouldn’t it be nicer if that would be handled by the plugin itself? I’m quite sure that hardly anyone would leave 20.00px in the CSS.

First Alt+C doesn't select expression

Hi. I have been using sublimetext2 on windows 7 for a few months and Super Calculator was one of my favorite plugins.
Now I have moved on sublimetext3 on Ubuntu 13.04 and when I press Alt+C it doesn't select the expression. If I select the expression and press Alt+C it goes on as expected, replacing the expression with the result.
Is this a bug or am I missing something?

Change Default Key Binding

The default key binding, Alt + C, conflicts with the toggle_case_sensitive command in the find panel.

removing zeros

Hi!

Is it possible to configure the plugin to remove the zeros? For example, to turn 0.30rem into .3rem.

Non-rounded results?

I'd like the evaluation to not round results. I often need the full fractions when writing CSS. I modified my copy of the package and removed the round call. I'm only asking because this is the only working inline calculator package I know about for SublimeText that reproduces Textmate's evaluate expression shortcut, and I love the feature.

Selecting expression

In new version of plugin in Sublime 2 selecting a math expression is not working correcly. For examle i'm typing something like that "lh48/2" and pressing Alt + C. Plugin will select only "/2" but not "48". If i have string "lh 48/2" with space between letters and numbers all ok. In previous version of plugin everything was fine.
And in Sublime 3 the same problem

Modulo

Your regex should have % so it supports modulo :)

Matrix manipulation

Suggestion: bind key ctrl+shift+alt+C plus arrow keys as addition and ctrl+shift+C plus arrow keys as subtraction.

because ctrl+shift+arrow keys is switching line.

replace a row by adding / subtracting the current row.

No support for parenthetical multiplication

Attempting to calculate expressions with a factor in front of a parenthetical expression (such as 2(5*10)) raises an error saying Error: 'int' object is not callable. I assume this is because this is parsed as a function application.

Of course, I can always just type 2 * (5*10), so this is pretty low-priority. But it'd be cool.

Calculate to clipboard

A cool nice to have feature would be an alternate shortcut to calculate and store the result in the clip board. ctrl+alt+c would be perfect. It's the existing shortcut combined with ctrl+c which is copy.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.