microsoft / vscode-cpptools

Official repository for the Microsoft C/C++ extension for VS Code.
Other
5.46k stars 1.53k forks source link

Show standard library documentation in hover tooltips #11498

Open mrx23dot opened 11 months ago

mrx23dot commented 11 months ago

Type: Bug

VS code contains lot less useful info about std lib in hint: image

than Eclipse: image

also which header to include would be desirable.

Extension version: 1.17.5 VS Code version: Code 1.73.1 (6261075646f055b99068d3688932416f2346dd3b, 2022-11-09T04:27:29.066Z) OS version: Windows_NT x64 10.0.19045 Modes: Sandboxed: No

System Info |Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz (8 x 2304)| |GPU Status|2d_canvas: enabled
canvas_oop_rasterization: disabled_off
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_renderer: enabled_on
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off| |Load (avg)|undefined| |Memory (System)|15.81GB (8.07GB free)| |Process Argv|| |Screen Reader|no| |VM|0%|
browntarik commented 11 months ago

This is being closed as a duplicate to https://github.com/microsoft/vscode-cpptools/issues/11497

browntarik commented 11 months ago

After further investigation, it seems this issue is a different enhancement that the other one you suggested. Keeping this open.

mrx23dot commented 11 months ago

I merged the two issues into this one.

I don't know anything about addons, but here is my contribution stdlib.xlsx

it doesn't have the latest strnlen kinds, I couldn't find a way to mass download those from https://en.cppreference.com/w/c/string/byte

github-actions[bot] commented 9 months ago

This feature request is being closed due to insufficient upvotes. Please leave a 👍-upvote or 👎-downvote reaction on the issue to help us prioritize it. When enough upvotes are received, this issue will be eligible for our backlog.

mrx23dot commented 9 months ago

Please don't close this, instant help in hint is so useful and it's not that hard to fix. I attached the text that needs to be inserted into the correct space.