Code Monkey home page Code Monkey logo

vscode-invoke's Introduction

Visual Studio Code extension for Invoke

Invoke is a Python (2.7 and 3.4+) task execution tool & library, drawing inspiration from various sources to arrive at a powerful & clean feature set.

This VS Code extension lets you execute tasks directly from your editor.

Features

Use the command palette (CMD + SHIFT + P) and type invoke. Once you call the extension, a list of all tasks available will be displayed. Select the one you want to run. If your task requires any argument you can specify them next.

Which tasks.py file is used?

This extension will make best effort to use the proper tasks.py file:

  • If a file is open in the editor, the extension will look for a tasks.py file at the top level of the folder that file is in
  • Otherwise the extension will use the first tasks.py file found at the top level of the folders in the Workspace.

Requirements

Invoke needs to be installed on your system. If the invoke command is not available in your path you can use the user settings variable vsc-invoke.invoke.cmd to define the path where invoke lives. This is the path to the invoke command (including invoke itself) that a shell should know to execute. This alaso allows you to specify a different name for the invoke command if it is installed under a different name on your system (e.g. Invoke.py)

0.0.1

Initial release

0.0.2

Documentation improvements

0.0.3

Documentation improvements

0.0.4

Added debug info to display error when failing to load tasks

0.0.5

Added logic to try to discover a tasks.py file when there are multiple folders in the Workspace

0.0.6

Introduced used setting vsc-invoke.invoke.path to define path to invoke command if it's not available in your path

0.0.7

Rename vsc-invoke.invoke.path to vsc-invole.invoke.cmd to include the full path to invoke. Fixed a few gugs.

0.0.8

Requires invoke version 1.x or better (technically 0.23.0 or better will work) to leverage the new JSON output format for tasks list

0.0.9

Handles more complex tasks definition that use collections

0.0.10

Add support for tasks package/collection

0.0.11

Better support for Windows (handling of files path)

0.0.12

Better handling of collections

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.