Skip to content

support "command" input variable type #64362

Closed
@weinand

Description

@weinand

Input variables have introduced an excellent way to parameterize and configure builtin interactive variables. But they lack support for contributing new variables.

But there is an easy way to combine the new input variables with the existing command based variables: a new input variable type "command" makes it possible to turn any command based variable into an input variable.

Example:

	"inputs":[
		{
			"label": "processPicker",
			"description": "Select process to attach to",
			"type": "command",
			"command": "extension.processes.pickProcess",
                         "args": {
			    "processTypes": [ "node", "iojs", "electron" ]
                         }
		}
	],

/cc @alexr00

Metadata

Metadata

Assignees

Labels

debugDebug viewlet, configurations, breakpoints, adapter issuesfeature-requestRequest for new features or functionalityon-testplan

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions