Can't run task in tasks.json

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Unable to run non-build tasks in .vscode/tasks.json

Steps to Reproduce

Fork of GitHub - ghostty-org/ghostty: 👻 Ghostty is a fast, feature-rich, and cross-platform terminal emulator that uses platform-native UI and GPU acceleration..

File: .vscode/tasks.json below. Can only run build task not any other task.

{
“version”: “2.0.0”,
“tasks”: [
{
“label”: “Rebuild and Launch Ghostty”,
“type”: “shell”,
“command”: “zig build -Doptimize=Debug && codesign --force --sign - --timestamp=none zig-out/Ghostty.app && (pkill -9 ghostty || true) && sleep 0.5 && open zig-out/Ghostty.app”,
“problemMatcher”: ,
“presentation”: {
“echo”: true,
“reveal”: “always”,
“focus”: false,
“panel”: “shared”,
“showReuseMessage”: false,
“clear”: true
},
“group”: {
“kind”: “build”,
“isDefault”: true
}
},
{
“label”: “Build Ghostty (Debug)”,
“type”: “shell”,
“command”: “zig build -Doptimize=Debug”,
“problemMatcher”: ,
“presentation”: {
“echo”: true,
“reveal”: “always”,
“focus”: false,
“panel”: “shared”,
“showReuseMessage”: false,
“clear”: true
},
“group”: “build”
},
{
“label”: “Kill Ghostty”,
“type”: “shell”,
“command”: “pkill -9 ghostty || true”,
“problemMatcher”: ,
“presentation”: {
“echo”: true,
“reveal”: “silent”,
“focus”: false,
“panel”: “shared”
},
“group”: “none”
},
{
“label”: “Launch Ghostty”,
“type”: “shell”,
“command”: “open zig-out/Ghostty.app”,
“problemMatcher”: ,
“presentation”: {
“echo”: true,
“reveal”: “silent”,
“focus”: false,
“panel”: “shared”
},
“group”: “none”
},
{
“label”: “Build and Run (zig)”,
“type”: “shell”,
“command”: “zig build run”,
“problemMatcher”: ,
“presentation”: {
“echo”: true,
“reveal”: “always”,
“focus”: false,
“panel”: “shared”,
“showReuseMessage”: false,
“clear”: true
},
“group”: “build”
}
]
}

Control Palette, invoke Run Task. Should get lists of tasks to pick from to run but instead get: command ‘vscode-task.runTaskPicker’ not found

Expected Behavior

Control Palette Run Task should be able to list the tasks here and allow me to run

Screenshots / Screen Recordings

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 2.3.41 (Universal)
VSCode Version: 1.105.1
Commit: 2ca326e0d1ce10956aea33d54c0e2d8c13c58a30
Date: 2026-01-16T19:14:00.150Z (4 days ago)
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Darwin arm64 25.3.0

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey, thanks for the report.

I need a bit more info to figure this out:

  1. Check extensions: Can you try running Cursor without extensions?

    • Via terminal: cursor --disable-extensions
    • Or Settings > Extensions > disable all, restart Cursor
    • Does the problem still happen?
  2. Alternative way: Try running it from the menu instead of Command Palette:

    • Terminal > Run Task… (in the top menu)
    • Do you see a list of tasks or the same error?
  3. What extensions do you have installed? Especially ones related to tasks/terminal - can you share the list?

Based on the error, it looks like a VS Code command that’s not implemented in Cursor, but I want to rule out extension conflicts first. Let me know what you find - if it checks out, I’ll pass it to the team.

Thank you!

Disabling extensions worked. I was able to do some digging and narrowed it down to https://taskfile.dev/. That’s a modern make like tool used for tasks on another repo, didn’t realize it installed VS code extension. Disabling just that resolved the issue.

1 Like

thx this is help me

This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.