nortakales / vs-code-qalc

Interactive scratchpad calculator for VS Code
MIT License
70 stars 2 forks source link

Support fahrenheit and celsius shorthand #23

Closed miguelsolorio closed 2 years ago

miguelsolorio commented 2 years ago

image

90 fahrenheit to celsius is supported but 90 f to c is not. Would love to make it easier to write out and not misspell 😄

nortakales commented 2 years ago

I don't recall why I didn't enable f and c. I thought they might have overlapped with some other unit, but I'm not seeing what that unit could have been now. I see F is used by farad and C for coulomb.

I did add support for oF and oC which you can toggle with a setting. Also note that degF and degC are supported.

I think adding support for lowercase c and f makes sense. I'll add it.

nortakales commented 2 years ago

This will be available in version 0.1.11

nortakales commented 2 years ago

https://github.com/nortakales/vs-code-qalc/commit/0ad15fef8012d77f4c4862d70cce48c60e65170a