Skip to content

Repository files navigation

Taskfile Language Server

License: GPL v2Build Status

This project is an LSP implementation for https://taskfile.dev

Installation

You can install taskfile-language-server using the following methods:

From Source

git clone https://github.com/s0cks/taskfile-language-server.git
cd taskfile-language-server/
go install .

Features

Here is the list of supported features of the Language Server Protocol

Completion

The server supports compleion for expression in values

Custom method

One custom method is supported: extension/getTasks. It returns a list of tasks for a given Taskfile.

Request must implement the following structure:

{
"fsPath": "<absolute-path-to-the-taskfile>"
}

The response will return a list of tasks implementing the following structure:

{
"scope": "<absolute-path-to-the-taskfile>",
"task": {
"value": "<name-of-the-task>",
"startLine": "<line-no-starting-the-task>",
"startCol": "<column-no-starting-the-task>",
"endLine": "<line-no-ending-the-task>",
"endCol": "<column-no-ending-the-task>",
}
}

About

A Language Server for https://taskfile.dev

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages