New-VSCodeTask

1.0.0

The script makes VSCode tasks from Invoke-Build tasks. It creates tasks.cmd
and tasks.json in .\.vscode. The existing files are overridden. Change to
the VSCode workspace directory before invoking the script.

Do not edit tasks.json directly. Edit the build script instead. When you
add, remove, rename, reorder tasks, change tags or Invoke-Build location
then regenerat
The script makes VSCode tasks from Invoke-Build tasks. It creates tasks.cmd
and tasks.json in .\.vscode. The existing files are overridden. Change to
the VSCode workspace directory before invoking the script.

Do not edit tasks.json directly. Edit the build script instead. When you
add, remove, rename, reorder tasks, change tags or Invoke-Build location
then regenerate VSCode tasks.

The default task becomes a so called VSCode build task (Ctrl-Shift-B).
The default task is '.' if it exists, otherwise it is the first task.

In order to invoke another task from VSCode use Ctrl-P and type 'task'.
Then type a task name or select it from the opened list of all tasks.

Only tasks with certain names are included. They contain alphanumeric
characters, '_', '.', and '-', with the first character other than '-'.

In order to invoke some tasks in a console host outside VSCode specify the
tag #ConsoleHost in a comment preceding the task definition. Note that all
parent tasks in the task trees get this tag automatically.

Show more

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Script -Name New-VSCodeTask -RequiredVersion 1.0.0

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

(c) 2011-2016 Roman Kuzmin

Package Details

Author(s)

  • Roman Kuzmin

Tags

Invoke Task Invoke-Build VSCode

Functions

Add-Text Add-Line Test-ConsoleHost

Dependencies

This script has no dependencies.

FileList

Version History

Version Downloads Last updated
1.3.2 486 11/22/2020
1.3.1 73 7/29/2020
1.3.0 148 12/29/2019
1.2.0 25 12/19/2019
1.1.7 280 5/13/2018
1.1.6 38 3/20/2018
1.1.5 188 11/9/2017
1.1.4 29 11/1/2017
1.1.3 26 10/28/2017
1.1.2 126 7/12/2017
1.1.0 32 5/29/2017
1.0.1 31 3/2/2017
1.0.0 (current version) 61 6/20/2016
Show less