Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Ecosystem

Command-line client

The cj executable discovers and runs tasks, formats taskfiles, generates shell completions, and exposes the language server. See Getting started and the taskfile format.

Built-in LSP

CJTaskrunner serves its language protocol implementation through cj --lsp. It provides diagnostics, completion, hover information, document symbols, task definitions, and formatting without requiring a second executable.

VS Code extension

Official VS Code Extension

Provides a CJTASKS panel syntax highlighting and directive reference.

Installation

See Install.

Shell completion

cj can generate or install completions for Bash, Zsh, and Fish:

cj --completions zsh
cj --install-completions zsh

Replace zsh with bash or fish as needed.

See CLI Reference.

Example projects

The example_tasks directory contains taskfiles for Rust, Node, Python, Docker, and other common project layouts.

Syntax Highlighting

VSCode extension

The official extension brings syntax highlighting, formatting, taskfile comprehension and more to Visual Studio Code.