Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Global task settings in task.json doesn't work on macOS #237109

Closed
pranftw opened this issue Dec 31, 2024 · 1 comment
Closed

Global task settings in task.json doesn't work on macOS #237109

pranftw opened this issue Dec 31, 2024 · 1 comment
Assignees

Comments

@pranftw
Copy link

pranftw commented Dec 31, 2024

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version: 1.96.2
  • OS Version: macOS Sonoma 14.7.1

Steps to Reproduce:

With global settings

{
  "version": "2.0.0",
  "type": "shell",
  "runOptions": {
    "runOn": "folderOpen"
  },
  "tasks": [
    {
      "label": "Main",
      "command": "echo 'Hello World'"
    }
  ]
}

The task doesn't run automatically on folderOpen

Without global settings

{
  "version": "2.0.0",
  "tasks": [
    {
      "label": "Main",
      "type": "shell",
      "command": "echo 'Hello World'",
      "runOptions": {
        "runOn": "folderOpen"
      }
    }
  ]
}

This runs automatically

@meganrogge
Copy link
Contributor

type: shell cannot be a global setting for tasks.

@meganrogge meganrogge closed this as not planned Won't fix, can't repro, duplicate, stale Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants