Giter VIP home page Giter VIP logo

vscode-equality's Introduction

equality README

This plugin use eval(), custom functions, methods and external libraries to evaluate and replace javascript content

You can use multiples cursors

multiple-cursor

You can calculate

=2+2 //Press Ctrl + Enter

calculate

You can create personal vars

Add equality.vars in your users settings

"equality.vars": {
    "name": "Javier Artero",
    "company": "MarsBased SL",
    "github": "https://github.com/javierartero"
}

Reload window

When you call a =e you will be calling equality.vars

=e.plugin //Press Ctrol + Enter

vars

Help

Now the plugin has a help system that will appear when it is not able to evaluate the content

You can open all the help elements from the method

=help

Help

You can use the chroma.js

chroma.js is a tiny JavaScript library (14kB) for dealing with colors!

  • read colors from a wide range of formats
  • analyze and manipulate colors
  • convert colors into wide range of formats
  • linear and bezier interpolation in different color spaces

chroma.js

You can use the lodash.js

Lodash makes JavaScript easier by taking the hassle out of working with arrays, numbers, objects, strings, etc. Lodash’s modular methods are great for:

  • Iterating arrays, objects, & strings
  • Manipulating & testing values
  • Creating composite functions

lodash.js

You can use the "faker.js"

faker.js is an external library generate massive amounts of fake

=faker.name.findName() //Press Ctrol + Enter

Faker

Custom functions and methods

rand(min:number = 0, max:number = 100)

rand

Default arguments min:number = 0, max:number = 100

=rand(-100,100)

rgb(r:number, g:number, b:number)

color

hex(hex:string)

This method allows the use of shorthand '# ff0'

color

Put an equality in your life...

vscode-equality's People

Contributors

javierartero avatar

Watchers

danigb avatar James Cloos avatar  avatar

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.