Can't compile and run C code by pressing the play button
维护者通常 1 天内回复
@sean-mcmanus 已经在做这个了。
开始于 2026年9月22日。
评估
这个 Issue 还没有评估数据。
描述
Type: Bug
Description
Can't run C file using the play button. The menu only shows (gdb) launch. I'm sure that GCC is install and in PATH. Same in WSL.
Steps to reproduce
- Check if GCC is installed and is in PATH. If not, install it and add it to PATH.
- Open a new folder.
- create a .c file.
- Enter some code
- Check if the C/C++ extension by Microsoft is installed. If not, install it and reload VS Code.
- Click on the arrow beside the play button on the top right of the window.
- Select "Run C/C++ file"
- See that only
(gdb) launch(and(Windows) launchon Windows) shows up. Notice that there is no option that looks likegcc build active file.
Other Information
Extension version: 1.34.4
VS Code version: Code 1.138.0 (7debcd0e2acdea1c52de81bf9ee1620444407dda, 2026-09-15T07:24:32Z)
OS version: Windows_NT x64 10.0.26200
Modes:
System Info
| Item | Value |
|---|---|
| CPUs | Intel(R) Core(TM) Ultra 5 115U (10 x 2688) |
| GPU Status | 2d_canvas: enabled GPU0: VENDOR= 0x8086, DEVICE=0x7d45 [Intel(R) Graphics], DRIVER_VENDOR=Intel, DRIVER_VERSION=31.0.101.5522 ACTIVE GPU1: VENDOR= 0x1414, DEVICE=0x008c [Microsoft Basic Render Driver], DRIVER_VERSION=10.0.26100.8972 Machine model name: Machine model version: direct_rendering_display_compositor: disabled_off_ok gpu_compositing: enabled multiple_raster_threads: enabled_on opengl: enabled_on rasterization: enabled raw_draw: disabled_off_ok skia_graphite: disabled_off trees_in_viz: disabled_off video_decode: enabled video_encode: enabled webgl: enabled webgpu: enabled webnn: disabled_off |
| Load (avg) | undefined |
| Memory (System) | 31.68GB (20.32GB free) |
| Process Argv | --folder-uri=vscode-remote://wsl+Ubuntu/home/user/C_programs --remote=wsl+Ubuntu --crash-reporter-id 0c9af523-0443-43ea-adac-b28c81065aaf |
| Screen Reader | no |
| VM | 0% |
A/B Experiments
vsliv368cf:30146710
binariesv615:30325510
nativeloc1:31344060
dwcopilot:31170013
dwoutputs:31242946
copilot_t_ci:31333650
e5gg6876:31282496
pythonrdcb7:31342333
6518g693:31463988
aj953862:31281341
envsactivate1:31551504
cloudbuttont:31379625
3efgi100_wstrepl:31403338
55ia6109:31457054
ec5jj548:31422691
cp_cls_t_966_ss:31526232
4je02754:31466945
8hhj4413:31478653
cp_cls_t_1081:31454832
conptydll_true:31498968
e9c30283:31461165
46204921:31447328
ei9d7968:31496641
chat:31457767
ddid_c:31478207
hmra_i5g22:31518061
7df3h592:31512476
cp_cls_t_1082:31535311
logging_enabled_new:31498466
db5d2638:31499441
jb_cp_cls_t_632:31543129
56dj4588:31512888
32d76977:31512328
ha629193:31508444
jh5f2457_c:31540921
jbcp_cls_pctr_t:31531130
cp_intellij_t_nes:31548657
ahp-both-windows:31556933
ihg5j128:31534457
7g2b5551:31542111
enable_editor_pane_layout:31569726
allow-none:31555437
36h42362:31564511
c7c27ce7:31554789
1h923230:31564177
treatment-23-1:31555779
unuse_dynamic_mcp:31555281
0d8dfbc3:31570291
switchtoauto:31559321
0c1h4866:31566224
session-archive:31558132
5b8j3302:31564601
autotiers:31584978
mangle-name-treatment:31572634
allow-signed-out:31584137
intellij_nes_preview_t:31580086
multiv2:31574985
2bfb8b39:31585911
outline:31581109
links-control:31587703
aw-autom-on:31583758
revealsession_control_7ed7e840:31582193
usage_tips_endabled_0911:31587631
7g328426_fixed:31584544
codex-agent-host-stable-control:31585316
0485115c-2712-4002-b6e9-b5d4e30fb963:31586114
sessioninlinediffenabled_disabled:31587634
- 主要语言
- TypeScript
- 星标
- 6.2k
- 派生
- 1.7k
- 平均合并
- 1 天 18 小时
- 30 天内合并 PR
- 38
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
microsoft/vscode-cpptools 的其他 Issue
-
Directory iteration no longer respects files.exclude可能已有人在做 @Colengms 于 1 天前认领。 未关闭bug Language Service
microsoft/vscode-cpptools#14827 · 已指派 1 人 ·
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 25/100
microsoft/vscode-cpptools#14825 ·
维护者通常 1 天内回复
-
IntelliSense reports an error on a valid deduction guide (error: the return type must directly designate a specialization of the associated class template)可能已有人在做 @Colengms 于 2 天前认领。 未关闭investigate: repro Language Service
难度 4/5 3-5 天 新手友好度 52/100
microsoft/vscode-cpptools#14824 · 已指派 1 人 ·
维护者通常 1 天内回复
-
Language Service more info needed
难度 4/5 3-5 天 新手友好度 35/100
microsoft/vscode-cpptools#14819 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 30/100
microsoft/vscode-cpptools#14817 ·
维护者通常 1 天内回复
查看 microsoft/vscode-cpptools 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
JoviDeCroock/pracht#432 ·
维护者通常 1 天内回复
-
approved check:passed streams:add
难度 1/5 1 小时以内 新手友好度 75/100
维护者通常 1 天内回复
-
Hardware attribute name "app Connection Support" has inconsistent casing可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 1/5 1 小时以内 新手友好度 88/100
walletbeat/walletbeat#1628 ·
维护者通常 1 天内回复
-
bug go
难度 2/5 1-3 小时 新手友好度 82/100
genkit-ai/genkit#6761 · 1 条评论 ·
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
NousResearch/hermes-agent#136483 ·
维护者通常 1 天内回复