formulahendry / formulahendry/vscode-code-runner
How to run task in tasks.json
- Dominant language
- TypeScript
- Stars
- 2.4k
- Forks
- 351
- PR merge metrics
- No merged PRs in 30d
Description
I write some C code, if I want to run the code, must compile files or make the project.
So, I write the tasks.json. But, how to use task.json and set these **dependsOn task** in settings.json for code-runner?
> {"label": "VC_Compile",
> "group": "build", "windows": {"command": "call",
> "args": ["\"C:/Program Files (x86)/Microsoft Visual C++ Build Tools/vcbuildtools.bat\"", "X86", "&& cd /d ${workspaceRoot}",
> "&& cl /W4 /EHsc /Ox /GL /source-charset:utf-8 /DNDEBUG /MT", "-IC:/Python3632/include",
> "/Fd:out/ /Fo:out/ ${file}", "/link", "/LIBPATH:C:/Python3632/libs /LIBPATH:C:/Python3632/PCbuild/win32",
> "/out:out/${fileBasenameNoExtension}.out"]},
> "type": "shell", "problemMatcher": ["$tsc"], "dependsOn": "clear_o_files",
> "presentation": {"echo": true, "reveal": "always", "focus": false, "panel": "shared"}
> },
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.