javierartero / vscode-equality Goto Github PK
View Code? Open in Web Editor NEWVisual studio plugin that replaces content by eval() it
Visual studio plugin that replaces content by eval() it
The majority of cooking recipes on the internet, on books and magazines use inexact, non standard measurement units (cups, teaspoons, tablespoons) or outdated imperial or British units of measurement.
Converting them by hand, one by one, is cumbersome and prone to errors.
Any automatic methods of conversion that exist require specific software and are limited to do generic conversions based on the equivalence of volume to volume. None take into account the density of the ingredient.
How is this appropriate for a text editor?
A text editor is most accessible and easiest way to enter information and is freely available at no cost.
How is this appropriate for your plugin?
Your plugin seems capable of doing what I have in mind. It already does math operations.
How would it work?
The user selects text following the structure, 1 cup of flour, selects convert to grams, the plugin would then read the equivalents from a file and convert to the correct value.
1 cup of flour would be converted into 130 g of flour
3 cups of flour would be converted into 390 g of flour
The file containing the equivalents would be provided by the user and follow the scheme
of one conversion per line:
1 cup of flour == 130 g
PS
I don't have any background in programming and perhaps none of I have written makes sense. Please, even if this is not appropriate for this plugin, could you consider making one that does this.
Thank you.
When I enter rand(-2, 2)
multiple times with multi-cursor and hit Ctrl+Enter, something like this shows up:
1
2
=rand(-2, 2)
1
=rand(-2, 2)
1
2
2
-2
I tried it several times and I found out that no zero was generated. I assume that those rand
s, that don't convert into numbers are exactly those which should be zeros, but they don't get converted for some reason.
command 'extension.equality' not found
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.