Comments not displayed for typedef
and macros
#8320
Labels
bug
Feature: Doc comments
An issue related to code comments shown in hover, completion, and signature help.
fixed
Check the Milestone for the release in which the fix is or will be available.
Language Service
quick fix
Works in VS
So we'd need to fix it for VS Code to reach parity.
Milestone
Issue Type: Bug
Any comment at the start of the file seems to overrides the tooltips for typedefs and macros
for example file.c contains:
when hovering over
my_global
, the tooltip shows "this is my global variable", but hovering overmy_uint
orMAGIC_NUMBER
shows " vim: set ts=4 sts=4 sw=4 noet : ".without the comment at the top,
my_uint
and MAGIC_NUMBER shows nothing (which I guess is the correct behavior?).I'm not sure if it's helpful to know, but when undoing/redoing the top comment rapidly,
no_description
's tooltip would occasionly show " vim: set ts=4 sts=4 sw=4 noet : " before reverting to nothing, andmy_uint
's would show "this is my uint" before reverting to nothingEdit: I don't know vim, this is just the comment that the original file came with that cause the problem
Extension version: 1.7.1
VS Code version: Code 1.61.2 (6cba118ac49a1b88332f312a8f67186f7f3c1643, 2021-10-19T14:57:20.575Z)
OS version: Windows_NT x64 10.0.19043
Restricted Mode: No
Remote OS version: Linux x64 4.19.128-microsoft-standard
Remote OS version: Linux x64 4.19.128-microsoft-standard
System Info
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
skia_renderer: enabled_on
video_decode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
The text was updated successfully, but these errors were encountered: