An open API service indexing awesome lists of open source software.

https://github.com/lechuckroh/task-intellij-plugin

IntelliJ IDEA plugin for go-task run configuration
https://github.com/lechuckroh/task-intellij-plugin

go-task intellij intellij-plugin taskfile

Last synced: about 1 month ago
JSON representation

IntelliJ IDEA plugin for go-task run configuration

Awesome Lists containing this project

README

          

# Task IntelliJ Run Configuration Plugin

![Plugin Downloads](https://img.shields.io/jetbrains/plugin/d/17058-scala.svg)

IntelliJ Run configuration plugin for [Task](https://taskfile.dev/).

![](docs/screenshot.png)

## Requirements

* Install `task`. See [here](https://taskfile.dev/#/installation)
* JDK 17 or higher to build from source

## Install from JetBrains Plugin Marketplace

Install [Taskfile Plugin](https://plugins.jetbrains.com/plugin/17058-taskfile) by searching `Taskfile` in plugin marketplace.

## Install from source

1. Build source
```bash
$ ./gradlew build
```
2. Copy `build/distributions/task-intellij-plugin-*.zip` file.
3. In IntelliJ IDEA Preferences -> Plugin -> Install Plugin from Disk -> Select file from step 2. \
![](docs/install_from_disk.png)

## Usage

1. Open 'Run/Debug Configurations'.
2. Add `Taskfile`:
* Task executable: Select `task` executable to run. Set empty to run `task` in `$PATH`.
* Taskfile: Select `Taskfile.yml` file to use.
* Task: Input task name to run.
* CLI arguments: Input [CLI arguments](https://taskfile.dev/#/usage?id=forwarding-cli-arguments-to-commands) to use.
* Working directory
* Environment variables: See [Environment Variables](https://taskfile.dev/#/usage?id=environment-variables)
* Variables: See [Variables](https://taskfile.dev/#/usage?id=variables)