weirongxu / coc-calc Goto Github PK
View Code? Open in Web Editor NEWCalculate extension for coc.nvim
License: MIT License
Calculate extension for coc.nvim
License: MIT License
Or add a option?
dalao, would you consider porting this coc.nvim extension to VS Code extension?
Like:
1+2=3+4=
In the last equal sign will also pop up the completion
When working with Latex source, it is common to add alignment marks in math blocks. I like to align equations at the equals sign, which looks like &=
in the Latex source. At the moment, coc-calc doesn't allow &=
as a substitute for =
, so parsing the expression fails.
Basically, I want to &=
to work like =
.
Does coc-calc support calculating numbers in hexadecimal ? For example 0x1e8 / 0x4
Instead of using the =
I need help . How do this plugin is used ,when I wish change accuracy. eg:
1/3= 0.33333333333333333333
I wish it is keeped two decimal places.
What types of calculations are specifically supported? What document describes these?
Not everyone has learned js/ts.
I'm not sure, if this feature would be in the scope of this plugin, but :)
It would be great to be able to sum (mean, ...) numbers in a column
Example: Suppose I have following ascii table
# | size
------+------
1 | 223
2 | 1
3 | 21
------+------
total |
Now visual-block-selecting the "size" column I would like to put the sum into the "-register.
Detecting column of numbers without visual-block selection would be cool, but only nice to have, IMO.
Another way of specifying numbers: matching it with the regexp search pattern, like
/| *[0-9]\+/
Thanks for putting this together. This will be a perfect replacement for Soulver.
I couldn't make it work though, I receive this error when starting CoC:
/Users/derekstavis/.config/coc/extensions/node_modules/coc-calc/lib/index.js: Error: Cannot find module './calc-parser'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.