Skip to content

OpenFn/vscode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

7a527d3 · Mar 14, 2025

History

37 Commits
Dec 25, 2024
Dec 29, 2024
Feb 28, 2025
Dec 29, 2024
Dec 25, 2024
Dec 25, 2024
Dec 25, 2024
Dec 25, 2024
Feb 18, 2025
Feb 28, 2025
Mar 14, 2025
Feb 11, 2025
Feb 18, 2025
Feb 28, 2025
Feb 18, 2025

Repository files navigation

OpenFn Extension for Visual Studio Code

A visual studio code extension that provides basic support for writing and managing OpenFn workflows.

Install

  1. Install VSCode from here
  2. Install the OpenFn extension by searching "OpenFn" in the marketplace.

Dependencies

In order to run a workflow this extension depends on OpenFn CLI which can be installed with:

npm install -g @openfn/cli

The workflow should be declared on a workflow.json. You can find an example of its JSON structure here.

Highlighted Features

  • Errors and informations when changing code.
  • Suggests completions and snippets (Control + Space) for adaptor functions.
  • Focused overview of workflows.
  • Execution of workflows from vscode.

Configuration

Currently, you need a .openfnrc file at the root of your project to activate the OpenFn extension.

Useful commands

Open the Command Palette (Command+Shift+P on macOS and Ctrl+Shift+P on Windows/Linux) and type in one of the following commands:

Command Description
OpenFn: Run Workflow(s) Run a workflow present in the workspace.
OpenFn: Generate .openfnrc Generate a .openfnrc file in the current workspace to activate the extension.
OpenFn: Focus on Workflows View Quickly opens the workflows view and focuses on it.

To see all available OpenFn commands, open the Command Palette and type OpenFn.