Skip to content

can't run normally #265532

@tislagaming1

Description

@tislagaming1

Type: Bug

when I press run with c/c++ ,It says c/c++ file ins't the active file

how can I solve this problem??

VS Code version: Code 1.103.2 (6f17636, 2025-08-20T16:45:34.255Z)
OS version: Windows_NT x64 10.0.22631
Modes:

System Info
Item Value
CPUs Intel(R) Core(TM) i5-8400H CPU @ 2.50GHz (8 x 2496)
GPU Status 2d_canvas: unavailable_software
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: disabled_software
multiple_raster_threads: enabled_on
opengl: disabled_off
rasterization: disabled_software
raw_draw: disabled_off_ok
skia_graphite: disabled_off
trees_in_viz: disabled_off
video_decode: disabled_software
video_encode: disabled_software
vulkan: disabled_off
webgl: unavailable_software
webgl2: unavailable_software
webgpu: unavailable_software
webnn: unavailable_software
Load (avg) undefined
Memory (System) 15.76GB (7.53GB free)
Process Argv --crash-reporter-id 3ba73610-fe81-4d28-a22f-719fb3cba511
Screen Reader no
VM 0%
Extensions (6)
Extension Author (truncated) Version
code-runner for 0.12.2
copilot Git 1.364.0
copilot-chat Git 0.30.3
cmake-tools ms- 1.21.36
cpptools ms- 1.27.3
cpptools-extension-pack ms- 1.3.1

(1 theme extensions excluded)

A/B Experiments
vsliv368:30146709
pythonvspyt551:31249599
binariesv615:30325510
nativeloc1:31344060
dwcopilot:31170013
dwoutputs:31242946
copilot_t_ci:31333650
e5gg6876:31282496
996jf627:31283433
pythonrdcb7:31342333
usemplatestapi:31297334
747dc170:31275177
aj953862:31281341
nesew2to5:31336538
agentclaude:31350858
82j33506:31327384
nes-set-on:31351930
6abeh943:31336334
0927b901:31350571
aa_c:31379599
45650338:31358607
0cj2b977:31352657
asdad-cf:31365767
pylancealldocsf:31379511
cloudbuttont:31379625
retryenabled:31370050
showgoogle:31363597
control_maxrequests:31369238
3efgi100_wstrepl:31374188
trigger-command-fix:31379601

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions