Skip to content

Commit a508658

Browse files
Document the hide property (#7643)
Arose from microsoft/vscode#229983
1 parent 78a09db commit a508658

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/editor/tasks.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,7 @@ The task's properties have the following semantic:
169169
* **presentation**: Defines how the task output is handled in the user interface. In this example, the Integrated Terminal showing the output is `always` revealed and a `new` terminal is created on every task run.
170170
* **options**: Override the defaults for `cwd` (current working directory), `env` (environment variables), or `shell` (default shell). Options can be set per task but also globally or per platform. Environment variables configured here can only be referenced from within your task script or process and will not be resolved if they are part of your args, command, or other task attributes.
171171
* **runOptions**: Defines when and how a task is run.
172+
* **hide**: Hides the task from the Run Task Quick Pick, which can be useful for elements of a compound task that are not independently runnable.
172173

173174
You can see the full set of task properties and values with IntelliSense in your `tasks.json` file. Bring up suggestions with **Trigger Suggest** (`kb(editor.action.triggerSuggest)`) and read the descriptions on hover or with the **Read More...** ('i') flyout.
174175

0 commit comments

Comments
 (0)