Giter Site home page Giter Site logo

articulate-js's Introduction

Articulate JS

Code Like You Talk

Articulate JS is a tool to help developers talk about code and write software in a more conversational way. The goal is, not only, to make pairing and mobbing easier while working with Javascript, but to also create a meta-interface for developers to use which will provide the following benefits:

  • Make code structure more consistent
  • Separate logical flow from syntax specifics
  • Reduce typing mistakes
  • Automate code generation through common language and vocabulary
  • Automate common small code modifications

Articulate JS In Use (Click image to see Articulate JS in action!)

Installing Articulate JS

  1. Open Visual Studio Code1
  2. Open extension sidebar item
  3. Search for Articulate JS
  4. Click install button
  5. Click reload to complete installation (as needed)

Using Articulate JS

Actions

All of these actions are available in the command pallette and in the context (right click) menu.

Assign

Add assignment declaration at current position or assign current selection to a variable

Convert Variable Type

Converts variable type to const, let, or var as you choose. Provides options which do not match the current variable type.

Return

Add return at current position or return selection

Surround With

Surround selection with one of many different snippets

Snippets

The bulk of Articulate JS is currently snippets. These snippets are built with the maximum amount of assistance possible, including supporting capturing highlighted text for inclusion in the output code, selection dropdowns for common options and so on. Be sure to tab through all tab-stopped options to see what kind of assistance the snippets can provide.

  • Variable
    • Initialization
    • Declaration
    • Assignment/Set
  • Function
    • Definition
    • Expression
    • Calling
    • Call with context
    • Binding
    • Applicationg
    • Awaited calling
  • Arrow Function
  • Immediately Invoked Function Expression (IIFE)
  • Conditionals
    • If Block
    • Else-If Block
    • Else Block
  • Loop
    • For
    • For-In
    • For-Of
    • While
  • Strings
    • String Literal
    • Template Literal
    • Template Variable
  • Console
    • Methods (Log, Debug, Error)
    • Log
  • Array
  • Object
    • Literal
    • Property
      • Create new property
      • Create new function property
      • Add property assignment
      • Add property read
  • Return
  • Promise
    • New Instance
    • Then
    • Catch
  • Class
    • Create class
    • Add constructor
    • Add method
    • Awaited method calling
  • Try/Catch

Version History

v1.3.2

  • Added convert variable type

v1.2.1

  • Added class support
  • Added await support for calls
  • Added try/catch

v1.1.1

  • Fleshed out more templates
  • Added "Surround With" behavior
  • Added "Return" behavior
  • Added "Assign" behavior

v1.0.0

First release

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.