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

Feature Request: add new commands: configureArguments and buildArguments #2470

Closed
GongT opened this issue Mar 31, 2022 · 1 comment
Closed
Labels
enhancement an enhancement to the product that is either not present or an improvement to an existing feature

Comments

@GongT
Copy link

GongT commented Mar 31, 2022

This is like the exsists feature in launch.json (document here), but in tasks.json instead.

Configure setting can be more flexible with this two new commands.

for example:

// tasks.json: .tasks[]:
{
	  "label": "configure current target",
	  "type": "shell",
	  "command": "cmake",
	  "args": [
		  "${command:cmake.configureArguments}", // <<===
		  "-DXXX=${input:XXX}"
	  ],
	  "group": "build",
	  "presentation": {
		  "echo": false,
		  "reveal": "always",
		  "focus": true,
		  "panel": "shared",
		  "showReuseMessage": false,
		  "clear": true
	  },
	  "problemMatcher": "$gcc"
},
@elahehrashedi
Copy link
Contributor

elahehrashedi commented Apr 4, 2022

this seems to be related to an already requested feature in #2452. I will add this request to that thread so that we can implement them at the same time.

@elahehrashedi elahehrashedi added the enhancement an enhancement to the product that is either not present or an improvement to an existing feature label Apr 4, 2022
@github-actions github-actions bot locked and limited conversation to collaborators May 20, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement an enhancement to the product that is either not present or an improvement to an existing feature
Projects
None yet
Development

No branches or pull requests

2 participants