Skip to content

No close field in vscode.d.ts interface TaskPresntationOptions #131125

@jackos

Description

@jackos

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

  • VS Code Version: 1.59.0
  • OS Version: Linux JD 5.13.10-arch1-1

Although there is an option to close terminal after task completes running in tasks.json, the option doesn't exist in vscode.d.ts interface TaskPresntationOptions

Steps to Reproduce:

  1. Create VS Code extension
  2. Create a task in extension
  3. Try to set presentation field with close:
    image

Steps to Fix:

  1. Add close field to interface TaskPresntationOptions in vscode.d.ts:
    image
  2. No TypeScript error:
    image
  3. Behaves as expected, task closes after run:
    working

Adding this issue for a pull request

Metadata

Metadata

Assignees

Labels

apifeature-requestRequest for new features or functionalityon-release-notesIssue/pull request mentioned in release noteson-testplantasksTask system issues

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions