Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
0 answers
12 views

Run VSCode task inside WSL and windows sequentially

Configured WSL to successfully compile my framework there. I've installed VSCode in Windows with WSL integration extension. With shell task type I successfully can trigger building framework from ...
T4ng10r's user avatar
  • 799
0 votes
1 answer
33 views

vscode task checking for existence of environment variables

I want to create a vscode task that runs when I open a folder with vscode. The task checks for existence of an environment variable. If it exists, then do nothing, but if it does not exist, then the ...
Oscillon's user avatar
  • 237
2 votes
3 answers
2k views

VS Code use VS Developer prompt as integrated Shell

I am trying to use the MSVC build tools inside of VS Code, and as such wanted to use the developer command prompt as an integrated shell. My current approach was to add a terminal profile and pass the ...
Justin113D's user avatar
4 votes
2 answers
5k views

How to get timestamp in VS code task?

I'm running small shell commands via tasks in VS code. Within these commands I need the current timestamp. Given I'm trying to run something like mkdir ./%date in a task: { "label": "make ...
Spenhouet's user avatar
  • 7,101
6 votes
2 answers
7k views

Launch vscode task in external terminal via tasks 2.0.0

Is it possible to launch bat file via external terminal, not inside a vscode terminal? Task sample: { "label": "Build", "type": "shell", "command": "./build.bat", "presentation": { ...
VagrantAI's user avatar
  • 670
5 votes
1 answer
9k views

How to define the task.json to compile C/C++ code in vscode by using the cl.exe on windows?

I have installed the Microsoft Visual C++ Build Tools 2015 on my 64bit win10 , and can use the cl.exe to compile and link the C/C++ program in a plain Command Prompt window by the following steps (...
Yulong Ao's user avatar
  • 1,261