Open bryceschober opened 4 years ago
Hmm.... Now I notice that when I click to run a task from the explorer pane, I get a notification:
Error running command taskfile.run: Task is not installed. This is likely caused by the extension that contributes taskfile.run.
... even though my terminal disagrees (from VS Code terminal):
$ which task
/usr/local/bin/task
$ task build-docker
task: echo "Building Docker..."
Building Docker...
Confirm @bryceschober issue, same here
vscode-taskfile/src/constants.ts should be:
export const BINARY_PATH_KEY = '/usr/local/bin/';
export const LANGUAGE_SERVER_BINARY_PATH = 'lsp-binary';
export const LAST_CHECKED_TIMESTAMP = 'lsp-ts';
export const REPO_URL = 'https://github.com/go-task/task';
@mhmdio The BINARY_PATH_KEY is a key used with vscode's globalState to save the path to task's binary so it should stay as is. This is to support the different installation paths across different OS.
I have had other people reporting a similar issue. @mhmdio can you confirm you are using running this on Linux?
check #11 @paulvarache
With my current VS Code setup, triggering "Tasks: Run Build Task..." with the extension installed makes it spin forever "Fetching Build Tasks..."
My current hello-world
Taskfile.yml
is just:The Taskfile extension output log has:
I've installed the latest https://github.com/go-task/task/releases/tag/v3.0.0, it runs
task build-docker
on a terminal as expected, and my VS Code Help > About is: